Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
demoManito committed Oct 20, 2023
1 parent e4229a3 commit fc3a7cf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions clause/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ func (set Set) Build(builder Builder) {
if len(set) > 0 {
for idx, assignment := range set {
if idx > 0 {
builder.WriteString(", ")
builder.WriteByte(',')
builder.WriteByte(' ')
}
builder.WriteQuoted(assignment.Column)
builder.WriteString(" = ")
builder.WriteByte(' ')
builder.WriteByte('=')
builder.WriteByte(' ')
builder.AddVar(builder, assignment.Value)
}
} else {
Expand Down

0 comments on commit fc3a7cf

Please sign in to comment.