Answers for "laravel if statement is null condition"

PHP
3

laravel where is null

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

check null if string laravel

$query->whereRAW("IFNULL(COLUMN_NAME,'') = '' ")
Posted by: Guest on June-25-2021

Code answers related to "laravel if statement is null condition"

Browse Popular Code Answers by Language