Let’s say I have users which have many computers which belong to a certain computer_type (users->computers->computer_type).
I know that I can load both users and their computers with: User::with("Computer")
I would like to load all three. How can I do it in Laravel?
To retrieve relationships that far down, you must say the child, then the child with it’s child, and so on…
User has_one Computer has_one type in this particular scenario.