VY
Size: a a a
VY
SG
withCount(['landfills' => function($query) { ... })])
VY
withCount(['landfills' => function($query) { ... })])
SG
SG
return Zone::with(['report.region', 'landfills', 'vehicles', 'auto_park', 'checks', 'media', 'zoneTitle'])
->withCount('landfills')
'report.landfills'
return Zone::with(['report.region', 'landfills', 'vehicles', 'auto_park', 'checks', 'media', 'zoneTitle'])
->withCount('report.landfills')
return Zone::with(['report.region', 'landfills', 'vehicles', 'auto_park', 'checks', 'media', 'zoneTitle', 'report.landfills'])
Zone::with(['landfills'])
что возвращаетVY
SG
SG
VY
Zone::with(['landfills'])
что возвращаетSG
J
D
SG
SG
A
A
A
A
SU
A4
$user->order
, здесь в модели User определено отношение с Order. Можно ли тут как-то обновить order?