Skip to content

Commit

Permalink
fix(clauses): merge.on使用and连接
Browse files Browse the repository at this point in the history
  • Loading branch information
maowei committed Feb 1, 2023
1 parent 6e8a1ff commit 291308a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clauses/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (merge Merge) Build(builder clause.Builder) {
builder.WriteString(" ON (")
for idx, on := range merge.On {
if idx > 0 {
builder.WriteString(", ")
builder.WriteString(" and ")
}
on.Build(builder)
}
Expand Down

0 comments on commit 291308a

Please sign in to comment.