Answers for "like where in laravel 8 model query"

PHP
0

laravel 8 db like query

$filterData = DB::table('countries')->where('name','LIKE','%'.$term.'%')
                      ->get();
Posted by: Guest on July-15-2021

Code answers related to "like where in laravel 8 model query"

Browse Popular Code Answers by Language