Hey, I'm writing a book.  Eloquent Beyond The Basics

🔥 Laravel tip: The `whereRelation` method

Oct 18, 2022

You can use the `whereRelation` method instead of `whereHas` when filtering by a simple where statement.
tip-image-0