Hi can anyone help me building below query in laravel Eloquent i am really confuse in using OR condition with between
SELEC
You have to group the parameters, adapt the example in the documentation
DB::table('users') ->where('name', '=', 'John') ->where(function ($query) { $query->where('votes', '>', 100) ->orWhere('title', '=', 'Admin'); }) ->get();