You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is there any way to use Model::search method via with() function? I'd like to search through my User model which has Role
This is my original code: User::with('roles')->paginate($this->paginate)
So my question is, how can I make it searchable?
The text was updated successfully, but these errors were encountered:
schubertadam
changed the title
Search with model binding
Search with relationship(s)
Jan 15, 2022
Hi, is there any way to use Model::search method via with() function? I'd like to search through my User model which has Role
This is my original code:
User::with('roles')->paginate($this->paginate)
So my question is, how can I make it searchable?
The text was updated successfully, but these errors were encountered: