laravel orwhere null code example Example: where status is null sql in laravel DB::table('users') ->whereNull('name') ->get();