mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: donot use insertOrUpdate for create joint resources (#19651)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -75,6 +75,10 @@ func (manager *SJointResourceBaseManager) GetSlaveManager() IStandaloneModelMana
|
||||
return manager._slave
|
||||
}
|
||||
|
||||
func (manager *SJointResourceBaseManager) CreateByInsertOrUpdate() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
/*
|
||||
func queryField(q *sqlchemy.SQuery, manager IModelManager) sqlchemy.IQueryField {
|
||||
field := q.Field(fmt.Sprintf("%s_id", manager.Keyword()))
|
||||
|
||||
Reference in New Issue
Block a user