More func tests.
This commit is contained in:
parent
35d607a62c
commit
f0cb772b7a
7 changed files with 19 additions and 8 deletions
|
|
@ -168,7 +168,7 @@ func UPPER(stringExpression StringExpression) StringExpression {
|
|||
// in characters (a space by default) from the start and end of string
|
||||
func BTRIM(stringExpression StringExpression, trimChars ...StringExpression) StringExpression {
|
||||
if len(trimChars) > 0 {
|
||||
return newStringFunc("LTRIM", stringExpression, trimChars[0])
|
||||
return newStringFunc("BTRIM", stringExpression, trimChars[0])
|
||||
}
|
||||
return newStringFunc("BTRIM", stringExpression)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue