摘要: 坑死爹了。我想实现一下这种sql: select * from xxx where (a = 1 and b = 2) or ( a = 2 and b = 1);翻遍了thinkphp的文档也没有说明怎么去实现。自己琢磨出来的。。 $where['_complex'] = array( ... 阅读全文
posted @ 2015-12-11 10:13 Mr.白板 阅读(985) 评论(0) 推荐(0) 编辑