I need a comprehensive explanation on this excerpt from Martin Bean Laravel Essential :
$breed = Furbook\Breed::with('cats')
- >whereName($name)
- >first()
I understand all the method except with(). Pls explain in sql what the with('cat') is used for. Pls my code might not be formatted well because I used the app.