I am trying to access a list of users who have a boolean "is_trainers" = true, kindly assist
Solution:Jump to solution
I think the third param for
->relationship()
accepts a Closure to modify the query. You should use that one and drop ->options()
1 Reply
Solution
I think the third param for
->relationship()
accepts a Closure to modify the query. You should use that one and drop ->options()