第一种
where('name', null);
where('title','null');
where('name','not null');
第二种
where('title','=', 'null');
where('name','=', 'not null');
第三种
whereNull('title');
whereNotNull('name');
第四种
where([
['title','null', ''],
['name','not null', '']
]);