AG
Customer::with('dynamic')->limit(10)->offset(0)->get();
вот такое даетdd(DB::getQueryLog());
array:2 [
0 => array:3 [
"query" => "select * from `customers` limit 10 offset 0"
"bindings" => array:1 [
0 => 2
]
"time" => 1.18
]
1 => array:3 [
"query" => "select * from `customers_dynamics` where `customers_dynamics`.`customer_uuid` in (1, 1, 1, 1, 1, 1, 1, 1, 1, 1)"
"bindings" => []
"time" => 480.32
]
]