Multiple value usage allowed within wrapper statement (eg. CONCAT(FUNC_A(?), FUNC_B(?)))

This commit is contained in:
Aleksandr Kretov 2018-05-30 22:07:12 +10:00
parent db9f275317
commit 9a35c206df

View File

@ -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)
} }
} }