Let's say I have tables
companies id | name
guests id | name
books id | name
They have models with relations
Company -> hasMany -> Guest
Guest -> hasMany -> Book
Now, I wanna get all books where guests from particular company
I have no Idea how to reach that in eloquent ORM
I will apreciate any help
Thanks