Laravel 8 dB seperti kueri

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