Hey, my book is finally available. Find it here.  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