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'];
 
posted @ 2018-09-17 17:03  太菜  阅读(7172)  评论(0编辑  收藏  举报