Introducing Laravel Quizzes! Play now

[8.x] Adds a simple where helper for querying relations - Post Image

[8.x] Adds a simple where helper for querying relations Community 267 clicks

Creates the whereRelation() and orWhereRelation() helpers, and whereMorphRelation() and orWhereMorphRelation() for morph relations.