ThinkPHP 查询条件多维数组中判断是否为 null 怎么写
$where = [];
$where[] = ['mobile','EXP,Db::raw('IS NULL')];
$where[] = ['name','EXP,Db::raw('IS NOT NULL')];
Db::name('table_name')->where($where)->select();
$where = [];
$where[] = ['mobile','EXP,Db::raw('IS NULL')];
$where[] = ['name','EXP,Db::raw('IS NOT NULL')];
Db::name('table_name')->where($where)->select();