1
Fork 0

add support for rowctor without row, e.g. (1,2)

This commit is contained in:
Jake Wheat 2013-12-17 16:20:05 +02:00
parent 89a4dd0e3e
commit e03090a6a1
3 changed files with 12 additions and 2 deletions
tools/Language/SQL/SimpleSQL

View file

@ -203,6 +203,9 @@ Tests for parsing scalar expressions
> ,("substring(x from 1 for 2)"
> ,SpecialOp "substring" [Iden "x", NumLit "1", NumLit "2"])
> ,("(1,2)"
> ,SpecialOp "rowctor" [NumLit "1", NumLit "2"])
> ]
> aggregates :: TestItem