Support for additional string functions.
This commit is contained in:
parent
3c4b078941
commit
aef698bdbc
6 changed files with 272 additions and 19 deletions
|
|
@ -40,3 +40,8 @@ func TestStringLT_EQ(t *testing.T) {
|
|||
assertExpressionSerialize(t, exp, "(table3.col2 <= table2.colStr)")
|
||||
assertExpressionSerialize(t, table3StrCol.LT_EQ(String("JOHN")), "(table3.col2 <= $1)", "JOHN")
|
||||
}
|
||||
|
||||
func TestStringCONCAT(t *testing.T) {
|
||||
assertExpressionSerialize(t, table3StrCol.CONCAT(table2ColStr), "(table3.col2 || table2.colStr)")
|
||||
assertExpressionSerialize(t, table3StrCol.CONCAT(String("JOHN")), "(table3.col2 || $1)", "JOHN")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue