Eager Load Relationships on an Existing Model

Written by Laracasts / Original link on Apr. 30, 2021

In this episode, you'll learn how to specify which relationships should be eager loaded by default on a model. We'll also touch on the pros and cons of such an approach.


« Create Your Next Project's Readme With This Useful Tool - View All Posts By An Author »