[Solved] Laravel combined OR AND Solution
[ad_1] DB::table(‘tableName’) ->where(function ($query) { $query->where(‘x’, ‘=’, 1) ->orWhere(‘y’, ‘=’, ‘1’); }) ->where(‘starting_at’, ‘<‘, ‘2018-05-01’) ->get(); 0 [ad_2] solved Laravel combined OR AND Solution