Update expression_ext.go

This commit is contained in:
markussilberbauer-dm 2022-06-30 17:16:34 +02:00 committed by Gerhard Gruber
parent e075423929
commit 25fabd9f40

View File

@ -278,7 +278,7 @@ func (e *expr) SumExpr() *expr {
}
func (e *expr) ReplaceExpr(search string,replace string) *expr {
e.expr = "REPLACE(" + e.expr + ",'?','?')"
e.expr = "REPLACE(" + e.expr + ",?,?)"
e.args = append(e.args, search, replace)
return e
}