TP5.0如何转换成SQL语句输出构造器里面的方法

$res=db('news')->where('id', $id)->fetchSql(true)->update($rows);
posted @ 2019-11-18 14:27  大熊童鞋  阅读(469)  评论(0编辑  收藏  举报