Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

concat() function using laravel eloquent query

concat() function using laravel update query
concat and search in laravel eloquent
$query->where(DB::raw("CONCAT(`first_name`,' ',`last_name`)"), 'like', '%' . request('filter') . '%');
 
PREVIOUS NEXT
Tagged: #function #laravel #eloquent #query
ADD COMMENT
Topic
Name
6+7 =