notNull in laravel code example
Example 1: laravel query not null
DB::table('users') ->whereNotNull('name') ->get();
Example 2: larave whereNotNull
# whereNull
$users = DB::table('users')
->whereNull('updated_at')
->get();
# whereNotNull
$users = DB::table('users')
->whereNotNull('updated_at')
->get();