DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
concat in where clause laravel query builder
$query->orWhere(DB::raw("CONCAT(`nvp`, ' ', `vpv`)"), 'LIKE', "%".$this->searchNeedle."%");
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#concat
#clause
#laravel
#query
#builder
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit