laravel database query if null or empty value code example Example: check if value is not null in db laravel Model::whereNotNull('sent_at')