I'm doing a query with union in Laravel.
$first = Friendship::selectRaw('id, userid, friendid, friendid as friend')
->where('userid', '=', $idUser)
->where('confirmed_friendship', '=', 1)
->whereHas('user_friends', functio...
asked by
01.08.2018 / 14:47