tp5 update exp 出错

浏览:1489 发布日期:2018/08/26 分类:ThinkPHP5专区
$result = Db::table('t')
->where('id', '=', 1)
->fetchSql(true)
->update([
'sumsp' => ['exp', 'now()']
]);
dump($result);


出错提示“不支持的数据表达式:[exp]”
最佳答案
评论( 相关
后面还有条评论,点击查看>>