rename Duplicates -> SetQuantifier + qeDuplicates -> qeSetQuantifier
This commit is contained in:
parent
2ae1ced7cc
commit
1be27eca58
4 changed files with 23 additions and 10 deletions
tools/Language/SQL/SimpleSQL
|
@ -36,7 +36,7 @@ These are a few misc tests which don't fit anywhere else.
|
|||
> ]
|
||||
> where
|
||||
> ms d = makeSelect
|
||||
> {qeDuplicates = d
|
||||
> {qeSetQuantifier = d
|
||||
> ,qeSelectList = [(Nothing,Iden "a")]
|
||||
> ,qeFrom = [TRSimple "t"]}
|
||||
|
||||
|
@ -64,6 +64,12 @@ These are a few misc tests which don't fit anywhere else.
|
|||
> ,("select a a, b b"
|
||||
> ,makeSelect {qeSelectList = [(Just "a", Iden "a")
|
||||
> ,(Just "b", Iden "b")]})
|
||||
|
||||
> ,("select a + b * c"
|
||||
> ,makeSelect {qeSelectList =
|
||||
> [(Nothing,BinOp (Iden (Name "a")) (Name "+")
|
||||
> (BinOp (Iden (Name "b")) (Name "*") (Iden (Name "c"))))]})
|
||||
|
||||
> ]
|
||||
|
||||
> whereClause :: TestItem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue