how to get a where a column value is null in laravel eloquent 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();