rename CombineQueryExpr to QueryExprSetOp and CombineOp to SetOperatorName
This commit is contained in:
parent
a2645ace3f
commit
d52b5efc8b
4 changed files with 13 additions and 13 deletions
tools/Language/SQL/SimpleSQL
|
@ -144,24 +144,24 @@ These are a few misc tests which don't fit anywhere else.
|
|||
> combos :: TestItem
|
||||
> combos = Group "combos" $ map (uncurry (TestQueryExpr ansi2011))
|
||||
> [("select a from t union select b from u"
|
||||
> ,CombineQueryExpr ms1 Union SQDefault Respectively ms2)
|
||||
> ,QueryExprSetOp ms1 Union SQDefault Respectively ms2)
|
||||
|
||||
> ,("select a from t intersect select b from u"
|
||||
> ,CombineQueryExpr ms1 Intersect SQDefault Respectively ms2)
|
||||
> ,QueryExprSetOp ms1 Intersect SQDefault Respectively ms2)
|
||||
|
||||
> ,("select a from t except all select b from u"
|
||||
> ,CombineQueryExpr ms1 Except All Respectively ms2)
|
||||
> ,QueryExprSetOp ms1 Except All Respectively ms2)
|
||||
|
||||
> ,("select a from t union distinct corresponding \
|
||||
> \select b from u"
|
||||
> ,CombineQueryExpr ms1 Union Distinct Corresponding ms2)
|
||||
> ,QueryExprSetOp ms1 Union Distinct Corresponding ms2)
|
||||
|
||||
> ,("select a from t union select a from t union select a from t"
|
||||
> -- TODO: union should be left associative. I think the others also
|
||||
> -- so this needs to be fixed (new optionSuffix variation which
|
||||
> -- handles this)
|
||||
> ,CombineQueryExpr ms1 Union SQDefault Respectively
|
||||
> (CombineQueryExpr ms1 Union SQDefault Respectively ms1))
|
||||
> ,QueryExprSetOp ms1 Union SQDefault Respectively
|
||||
> (QueryExprSetOp ms1 Union SQDefault Respectively ms1))
|
||||
> ]
|
||||
> where
|
||||
> ms1 = makeSelect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue