Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

sql - Laravel concat in query (where condition)

$query->orWhereRaw("CONCAT(`nvp`, ' ', `vpv`) LIKE ?", ['%'.$this->searchNeedle.'%']);
Source by sqlerrors.com #
 
PREVIOUS NEXT
Tagged: #sql #Laravel #concat #query
ADD COMMENT
Topic
Name
1+9 =