User::where('userType','local')->whereHas('roles',function($query){ $query->where('name','supervisor'); })->get();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community