9
ThinkPHP版本:6.0.0
think-orm:2.0
ThinkPHP版本:6.0.0
think-orm:2.0
加上这一串代码,问题解决了
if ($field instanceof \think\db\Raw) {
$field = $field->getValue();
}
应该判断是Db::raw就跳过吧,用了raw就是不希望系统再适配的