crear si no existe laravel
if(!Numbers::where('country',$country)->exists()){
Numbers::Create([
'country' => $country
]);
}
Lokesh003Coding
if(!Numbers::where('country',$country)->exists()){
Numbers::Create([
'country' => $country
]);
}
$repairJobs = RepairJob::with('repairJobPhoto', 'city', 'vehicle')
->where('active', '=', 'Y')
->whereNotExists(function($query)
{
$query->select(DB::raw(1))
->from('DismissedRequest')
->whereRaw('RepairJob.id = DismissedRequest.id');
})->get();