mirror of https://github.com/VinGarcia/ksql.git
fixup! Remove the gorm dependency from the Update func
parent
8c1c483462
commit
733284997f
|
@ -268,7 +268,7 @@ func buildUpdateQuery(
|
|||
numAttrs := len(recordMap)
|
||||
numIDs := len(idFieldNames)
|
||||
args = make([]interface{}, numAttrs+numIDs)
|
||||
whereArgs := args[numAttrs-1:]
|
||||
whereArgs := args[numAttrs-len(idFieldNames):]
|
||||
|
||||
var whereQuery []string
|
||||
for i, fieldName := range idFieldNames {
|
||||
|
|
Loading…
Reference in New Issue