laravel query field is not null code example Example: laravel query not null DB::table('users') ->whereNotNull('name') ->get();