Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

double where condition in laravel

$query->where([
    ['column_1', '=', 'value_1'],
    ['column_2', '<>', 'value_2'],
    [COLUMN, OPERATOR, VALUE],
    ...
])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #double #condition #laravel
ADD COMMENT
Topic
Name
3+3 =