Answers for "used concat in where query in laravel"

PHP
0

how to concat in where clause like laravel query builder

$query = DB::table('mbo_party')->where(DB::raw("CONCAT(first,' ',last)"), 'LIKE', '%' . $party_name . '%')->first();
Posted by: Guest on October-08-2020

Code answers related to "used concat in where query in laravel"

Browse Popular Code Answers by Language