![[8.x] Adds a simple where helper for querying relations - Post Image](https://rappasoft.com/storage/135/hJK4kTS63b4KQtsi9Xklb5bUXlEH7Z-metaY2FyYm9uLnBuZw==-.png)
[8.x] Adds a simple where helper for querying relations Community 1,082 clicks
Creates the whereRelation() and orWhereRelation() helpers, and whereMorphRelation() and orWhereMorphRelation() for morph relations.
Introducing Laravel Quizzes! Try your luck at quizzes based on the Laravel documentation with hundreds of hand crafted questions! Play now
Creates the whereRelation() and orWhereRelation() helpers, and whereMorphRelation() and orWhereMorphRelation() for morph relations.