Eager Loading, Constraining Eager Loads, Lazy Eager Loading
I'm learning Laravel, and I'm using Laravel 5.2. I want to know about Eager Loading, Constraining Eager Loads, and Lazy Eager Loading. What are the similarities and differences between those three? Can you give an example for each of them? I have read Laravel documentation, but I still don't understand. I hope you can give clearer explanation. Thanks. Nutshell: Eager Loading allows you to get the relationships for some Models efficiently. Constraining Eager Loads Again makes it efficient but you can limit your results e.g. date range, specific id etc Lazy Eager Loading Is for when you already