//查询为NULL时的条件
$where = [
['字段名','null',''],
];
//查询不是NULL时的条件
$where = [
['字段名','not null',''],
];
Thinkphp5 查询条件为[NOT] NULL时 数组写法
最新推荐文章于 2024-05-13 18:57:39 发布
//查询为NULL时的条件
$where = [
['字段名','null',''],
];
//查询不是NULL时的条件
$where = [
['字段名','not null',''],
];