首页 > 技术文章 > [thinkPHP] buildSql可以查看tp CURD操作对应的SQL
bushe 2014-11-25 16:15 原文
$goods = M('Goods')->where($map)->buildSql(); echo $goods;