Does anyone know how I can make a join return only the first result?
->join('addresses', function ($join) {
$join->on('s_complete_clients.id', '=', 'addresses.client_id')->limit(1);
})
Does anyone know how I can make a join return only the first result?
->join('addresses', function ($join) {
$join->on('s_complete_clients.id', '=', 'addresses.client_id')->limit(1);
})