V
Size: a a a
V
V
V
Д
$res = $user->table1()->with(["table2.table3"=>function($query){Нужно что то типо такого:
$query->with("table4");
}])->get();
$res = $user->table1()->with(["table2.table3"=>function($query){
$query->with(["table4"=>function($query){
$query->where("table1_id","table1.id");
}]);
}])->get();
V
'body' => 'ok']);
VP
return response()->json([добавить body ok ?
], 200);
ML
ML
RK
RK
RK
RK
V
V
VP
V
VP
VP
V
AP