👀 Using
with() but still getting N+1 queries?
Laravel's chaperone() fixes a sneaky Eloquent case you might be missing. 👇9567969
with() but still getting N+1 queries?
Laravel's chaperone() fixes a sneaky Eloquent case you might be missing. 👇public function boot(): void { // Enable automatic relation autoloading globally Model::automaticallyEagerLoadRelationships(); }
commit 9567969