Laravel -Abfragebeziehung verschachtelt
return Event::with(['city.companies.persons' => function ($query) {
$query->select('id', '...');
}])->get();
Bug Killer
return Event::with(['city.companies.persons' => function ($query) {
$query->select('id', '...');
}])->get();
return Event::with('city.companies.persons')->get();