Answers for "string or null laravel"

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

Browse Popular Code Answers by Language