当前位置:Gxlcms > 数据库问题 > thinkphp-fetchSql

thinkphp-fetchSql

时间:2021-07-01 10:21:17 帮助过:27人阅读

示例

$result = Db::table(‘think_user‘)->fetchSql(true)->find(1);
echo $result;

输出

SELECT * FROM think_user where id = 1


本文出自 “素颜” 博客,请务必保留此出处http://suyanzhu.blog.51cto.com/8050189/1896500

thinkphp-fetchSql

标签:thinkphp-fetchsql

人气教程排行