thinkphp查询某个字段为空的数据

$where['name'] = ['exp', 'is null'];  //为空的

$where['name'] = ['exp', 'is not null']; //不为空的

相关文章
相关标签/搜索