Answers for "how to concat in where clause like laravel query builder"

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
0

concat in where clause laravel query builder

$query->orWhere(DB::raw("CONCAT(`nvp`, ' ', `vpv`)"), 'LIKE', "%".$this->searchNeedle."%");
Posted by: Guest on October-08-2020

Code answers related to "how to concat in where clause like laravel query builder"

Browse Popular Code Answers by Language