Laravel 8 dB wie Abfrage
$filterData = DB::table('countries')->where('name','LIKE','%'.$term.'%')
->get();
Jittery Jay
$filterData = DB::table('countries')->where('name','LIKE','%'.$term.'%')
->get();