TP5 操作DB is null is not null 条件
$where=[
'cat_id'=>3,
'zt'=>$newId,
'is_show'=>1,
'address_province_code'=>['exp','is not null']
];
新版
$where['nickname']=['<>','not null'];
$where['nickname']=['=','null'];
$where=[
'cat_id'=>3,
'zt'=>$newId,
'is_show'=>1,
'address_province_code'=>['exp','is not null']
];
新版
$where['nickname']=['<>','not null'];
$where['nickname']=['=','null'];