🔥 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](https://res.cloudinary.com/dpmeu3otn/image/upload/v1666558020/tips/ti3w6hcflfvikxjc7xlw.jpg)
Other tips:
Laravel Tip: Auto-completion in artisan commands
Aug 23, 2022