R
несколько запросов и нет ранжирования, ту модель которую запросил последней будет в конце
Size: a a a
R
R
AP
AP
AP
R
AP
R
AP
R
к
R
Route::get('/', function (){
require 'file.php';
});
D
D
D
AG
$shop = Shop::with(['shop_delivery_area:id,state,city,postal_code'])->findOrFail($id);
shop_delivery_area
, но у shop_delivery_area
есть еще свое отношение delivery_schedules, как его получить тоже сразу?V
$shop = Shop::with(['shop_delivery_area:id,state,city,postal_code'])->findOrFail($id);
shop_delivery_area
, но у shop_delivery_area
есть еще свое отношение delivery_schedules, как его получить тоже сразу?SG
$shop = Shop::with(['shop_delivery_area:id,state,city,postal_code'])->findOrFail($id);
shop_delivery_area
, но у shop_delivery_area
есть еще свое отношение delivery_schedules, как его получить тоже сразу?AG