This commit is contained in:
Lunny Xiao 2021-06-12 21:11:28 +08:00
parent 3de08f5396
commit ca0227838d
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func (statement *Statement) GenInsertSQL(colNames []string, args []interface{})
}
if err := statement.dialect.Quoter().JoinWrite(buf.Builder, append(colNames, exprs.ColNames()...), ","); err != nil {
return "", nil, err
return nil, err
}
if _, err := buf.WriteString(")"); err != nil {