[thinkPHP] buildSql可以查看tp CURD操作对应的SQL

$goods = M('Goods')->where($map)->buildSql();

echo $goods;

  

posted @ 2014-11-25 16:15  捕蛇者说  阅读(440)  评论(0编辑  收藏  举报