DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+2 =
Submit