Fork me on github

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

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

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

posted @ 2018-09-18 11:46  Champion-水龙果  阅读(4077)  评论(0编辑  收藏  举报
Champion-水龙果