is there any way to make a ->get() using Laravel Eloquent ORM and force it to make the query using inner joins instead of using whereIn?. I have a relationship of data like this since a have a lot of data in the tables, Eloquent is taking forever to provide the data.
$people= People::with(
'pets',
'peopleSize',
'cars',
'house',
'child'
)->get();
This in creating a query with a whereIn statement with all the ids of the people that I have, and the same for every other relation inside of the with statment. Is there any way to change that for inner joins using Eloquent ORM?