Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
- Fix oracle db.Data needs to manually add slash to the field name
  • Loading branch information
tobycroft committed Nov 23, 2023
1 parent 5354b57 commit 45f8e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder_oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, ",")+")")
}
Expand Down

0 comments on commit 45f8e91

Please sign in to comment.