I\'m using the Laravel Eloquent query builder and I have a query where I want a WHERE clause on multiple conditions. It works, but it\'s not elegant.
WHERE
E
Model::where('column_1','=','value_1')->where('column_2 ','=','value_2')->get();
OR
// If you are looking for equal value then no need to add = Model::where('column_1','value_1')->where('column_2','value_2')->get();
Model::where(['column_1' => 'value_1','column_2' => 'value_2'])->get();