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

[8.x] Adds a simple where helper for querying relations Community 2,030 clicks

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

github.com