In this episode, we'll continue optimizing our SQL queries. Specifically, we'll review global Eloquent scopes and the useful
$with property to automatically eager load any necessary relationships.
View the source code for this lesson on GitHub.
Published on Apr 12th, 2017.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.