1$query->where([
2 ['column_1', '=', 'value_1'],
3 ['column_2', '<>', 'value_2'],
4 [COLUMN, OPERATOR, VALUE],
5 ...
6])
1//laravel
2// here, i have used two different where condition on a single column
3$today = Carbon::today();
4$data = Users::where('type',1)
5 ->where(function($query) use ($today) {
6 return $query->whereDate('updated_at','!=', $today)
7 ->orWhere('updated_at',null);
8 })
9 ->get();