Advertisement — Top

Responsive Advertisement

Laravel eloquent where two conditions in Coderfunda

 <?php 



// laravel where multiple conditions

$query->where([
    ['column_1', '=', 'value_1'],
    ['column_2', '<>', 'value_2'],
    [COLUMN, OPERATOR, VALUE],
    ...
])

?>

Post a Comment

0 Comments