老师sublime主题 Seti_UI 网址: https://packagecontrol.io/packages/Seti_UI
配置教程: http://chinagdg.org/2016/02/ttt2-seti-ui/
配置教程: http://chinagdg.org/2016/02/ttt2-seti-ui/
2017-09-30
最赞回答 / 慕神8376196
$res = Db::table('fd_user')->where('sex','eq','男') ->where(function($query){ $query->where('name','like','李%') ->whereOr('age','eq',18); }) ->buildSql(); dump($res);打印的结果是:string(91) "( SELECT * FROM `fd_user` WHERE `se...
2017-09-25
最新回答 / 棒棒糖__
use think\Db;$num = 33; $res = Db::name('user')->where('id',$num)->buildSql(); dump($res);//页面输出
string(47) "( SELECT * FROM `imooc_user` WHERE `id` = 33 )"你估计是哪写错了
2017-09-12