forked from mirror/gorm
this fixes syntax error
relevant issue: https://github.com/jinzhu/gorm/issues/588
This commit is contained in:
parent
25ba9487aa
commit
1c227d4243
|
@ -230,7 +230,7 @@ func toQueryMarks(primaryValues [][]interface{}) string {
|
||||||
|
|
||||||
for _, primaryValue := range primaryValues {
|
for _, primaryValue := range primaryValues {
|
||||||
var marks []string
|
var marks []string
|
||||||
for range primaryValue {
|
for _,_ = range primaryValue {
|
||||||
marks = append(marks, "?")
|
marks = append(marks, "?")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue