thinkphp查詢某個字段爲空的數據

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

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

相關文章
相關標籤/搜索