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

🔥 Laravel Tip: wherePivot.

Oct 19, 2022

In your many-to-many relationships, you can add where statements to your pivot table using the `wherePivot` method.
tip-image-0