Learn How to Use Eager Loading

Опубликовано: 09 Январь 2025
на канале: EscoTech
2,811
93

Using eager loading in Laravel can improve application performance significantly. Learn how to use eager loading and what eager loading is.

We start with over 4000 queries to load 1000 tickets and take the query count to 6. Not only does the query count reduce, but the memory and load time decrease significantly as well.

This will be an iterative approach to show the power of eager loading your relationships.

Thank you for watching. Like and sub if this video was helpful.

~~~~~
Follow me on Twitter
  / nick_escobedo  
~~~~~

#php #laravel #eagerloading