Skip to content

Commit

Permalink
fix: CONCAT function name uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
ch3nnn committed Mar 23, 2024
1 parent 31bdad8 commit 413855a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion field/expr.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func (e expr) ConcatCol(cols ...Expr) Expr {
vars = append(vars, col.RawExpr())
}
return Field{e.setE(clause.Expr{
SQL: fmt.Sprintf("Concat(%s)", strings.Join(placeholders, ",")),
SQL: fmt.Sprintf("CONCAT(%s)", strings.Join(placeholders, ",")),
Vars: vars,
})}
}
Expand Down

0 comments on commit 413855a

Please sign in to comment.