MENU

Fun & Interesting

Laravel Just Destroyed Your... N+1 Problem

Laracasts 22,279 3 weeks ago
Video Not Working? Fix It Now

Writing with() each time you fetch related data can often be verbose and tedious. Worse, forgetting it can lead to unexpected N+1 issues. Thankfully, as of Laravel 12.8, you can let the framework automatically eager load relationships based on what your code actually uses. Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com. Laracasts: https://laracasts.com Laracasts Twitter: https://twitter.com/laracasts

Comment