Welcome Guest, Not a member yet? Register   Sign In
How to use pagination in complex query
#9

(02-01-2023, 06:17 PM)Thank you that helped a lot.sorry to say, I found$users = $userModel Wrote:     ->select('users.*)
    ->join('auth_groups_users agu', 'agu.user_id = users.id')
    ->whereIn('agu.group', 'superadmin')
    ->findAll();

more understandably than CI help .anyway thanks again for your help.
Reply


Messages In This Thread
RE: How to use pagination in complex query - by lindaw - 02-02-2023, 01:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB