改名
This commit is contained in:
@@ -159,9 +159,11 @@ class ActiveRecord extends BaseActiveRecord
|
|||||||
}
|
}
|
||||||
|
|
||||||
$activeQuery = static::find()->where($condition);
|
$activeQuery = static::find()->where($condition);
|
||||||
return static::getDb()
|
$create = SqlBuilder::builder($activeQuery)->mathematics($columns, $action);
|
||||||
->createCommand(SqlBuilder::builder($activeQuery)->mathematics($columns, $action))
|
if (is_bool($create)) {
|
||||||
->exec();
|
return false;
|
||||||
|
}
|
||||||
|
return static::getDb()->createCommand($create)->exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user