We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f1d865 commit 288cf62Copy full SHA for 288cf62
create.go
@@ -135,7 +135,7 @@ func Create(db *gorm.DB) {
135
136
func MergeCreate(db *gorm.DB, onConflict clause.OnConflict, values clause.Values) {
137
db.Statement.WriteString("MERGE INTO ")
138
- db.Statement.WriteString(db.Statement.Schema.Table)
+ db.Statement.WriteQuoted(db.Statement.Schema.Table)
139
db.Statement.WriteString(" USING (VALUES")
140
for idx, value := range values.Values {
141
if idx > 0 {
0 commit comments