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
You can use eloquent in Laravel 5.3
All results
UserModel::where('id_user', $id_user) ->where('estado', 1) ->get();
Partial results
UserModel::where('id_user', $id_user) ->where('estado', 1) ->pluck('id_rol');