Laravel often feels like magic. But, if you're not careful, you can potentially end up with hundreds of unnecessary SQL queries in your applications.
In this lesson, we'll discuss the "N+1" problem, see it in action, and then review how to solve it with eager loading.
Published on Nov 11th, 2015.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.