Laravel 8 dB jak zapytanie

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