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

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

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

相关文章:

  • 2021-06-19
  • 2021-06-15
  • 2022-12-23
  • 2022-02-04
  • 2021-06-23
  • 2022-12-23
  • 2021-12-10
  • 2021-06-19
猜你喜欢
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案