how to get the null entries in database in laravel by query code example
Example 1: check if value is not null in db laravel
Model::whereNotNull('sent_at')
Example 2: laravel where is null
DB::table('users') ->whereNull('name') ->get();
Model::whereNotNull('sent_at')
DB::table('users') ->whereNull('name') ->get();