Laravel - `whereRelation` method instead of `whereHas` when filtering by a simple where statement.

Laravel - `whereRelation` method instead of `whereHas` when filtering by a simple where statement.

Reference

 

whereRelation

Categories: Category 1