Multiple value usage allowed within wrapper statement (eg. CONCAT(FUNC_A(?), FUNC_B(?)))
This commit is contained in:
parent
db9f275317
commit
9a35c206df
2
scope.go
2
scope.go
@ -283,7 +283,7 @@ func (scope *Scope) WrapPlaceholder(field *Field, placeholder string) string {
|
|||||||
return placeholder
|
return placeholder
|
||||||
} else {
|
} else {
|
||||||
// Wrap a placeholder into wrapper
|
// Wrap a placeholder into wrapper
|
||||||
return strings.Replace(wr, "?", placeholder, 1)
|
return strings.Replace(wr, "?", placeholder, -1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user