Published On Nov. 12th 2013

The N+1 Problem

Run Time 10:04


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.