码迷,mamicode.com
首页 >  
搜索关键字:thinkphp-查询方法    ( 1个结果
thinkphp-查询方法
1.where方法进行AND条件查询Db::table(‘think_user‘) ->where(‘name‘,‘like‘,‘%thinkphp‘) ->where(‘status‘,1) ->find();2.where方法多字段相同条件的AND查询Db::table(‘think_user‘) ->where(‘name&title‘,‘like‘,‘%thinkphp‘) ->find();3.whereOr方法进..
分类:Web程序   时间:2017-02-10 18:44:11    阅读次数:182
1条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!