how to check null condition in laravel 8 code example
Example 1: laravel where is null
DB::table('users') ->whereNull('name') ->get();
Example 2: laravel where is null
DB::table('users')
->whereNull('first_name');
DB::table('users') ->whereNull('name') ->get();
DB::table('users')
->whereNull('first_name');