Eloquent N+1 Query on Live Server? Send Notification!
We can prevent lazy loading from happening, but that feature should be disabled on production servers. So how do we detect it and send a notification? I will show Bugsnag as an example.
More on Eloquent Performance:
My video “New in Laravel : Prevent N 1 Queries by Disabling Them“
- - - - -
Support the channel by checking out my products:
- My Laravel courses:
- Laravel QuickAdminPanel:
- Livewire Kit Components:
- - - - -
Other places to follow:
- My weekly Laravel newsletter:
- My personal Twitter: