mirror of
https://github.com/tobycroft/gorose-pro.git
synced 2025-09-26 20:51:27 +08:00
Fix
- Fix oracle db.Data needs to manually add slash to the field name
This commit is contained in:
@@ -314,7 +314,7 @@ func (b *BuilderOracle) parseData(operType string, data []map[string]interface{}
|
||||
b.IOrm.SetBindValues(item[key])
|
||||
}
|
||||
// update
|
||||
dataObj = append(dataObj, fmt.Sprintf("%s=%s", key, b.GetPlaceholder()))
|
||||
dataObj = append(dataObj, fmt.Sprintf("%s=%s", b.AddFieldQuotesOracle(key), b.GetPlaceholder()))
|
||||
}
|
||||
dataValues = append(dataValues, "("+strings.Join(dataValuesSub, ",")+")")
|
||||
}
|
||||
|
Reference in New Issue
Block a user