Answer the question
In order to leave comments, you need to log in
Eloquent ORM: how to search a related model?
Good afternoon.
There are two tables connected through the third, the usual many-to-many.
Task: find all records from table A that are associated with certain records from table B.
I.e. how to find all records related from table A that are related to a specific record from table B and vice versa is understandable.
And here I am confused. Doc read, but could overlook something.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question