Query Optimization

Posted by | September 18, 2017
Laravel: Eager loading

First, Lets understand why eager loading come in to existence! To understand nature of this problem, I am taking an example of below Laravel code. $users = User::take(5)->get(); it will...

Continue Reading
Posted by | September 5, 2017
Laravel: Database Query Optimization.

Laravel comes up with Eloquent and enables developer to make complex queries with ease. This refrains developers from checking what actually happens behind the scene. But if we don't take...

Continue Reading