2020年1月14日

TP5.0 数据库查询is not null

摘要: 比如最终形成的sql语句可能类似下面: select id from tablename where photo<>'' and photo is not null 但是代码中因为查询条件为通过数组拼凑,所以需要写成下面的形式取得上面SQL $where['photo'] = [['not null 阅读全文

posted @ 2020-01-14 16:43 s1ihome 阅读(1078) 评论(0) 推荐(0) 编辑

导航