laravel eloquent with nested code example
Example: laravel query relationship nested
return Event::with(['city.companies.persons' => function ($query) {
$query->select('id', '...');
}])->get();
return Event::with(['city.companies.persons' => function ($query) {
$query->select('id', '...');
}])->get();