Answers for "how to check if is null or not in laravel"

PHP
6

laravel where is null

DB::table('users')	->whereNull('name')	->get();
Posted by: Guest on June-29-2020
0

where not null in laravel

DB::table('users')->whereNotNull('deleted_at')->first();
Posted by: Guest on November-17-2021

Code answers related to "how to check if is null or not in laravel"

Browse Popular Code Answers by Language