move the typed literal parser around
implement unique predicate, match predicate change the representation of quantified comparison predicates
This commit is contained in:
parent
0d3f552ede
commit
d38a5a743a
5 changed files with 126 additions and 33 deletions
tools/Language/SQL/SimpleSQL
|
@ -172,14 +172,14 @@ Tests for parsing value expressions
|
|||
> ,("a not in (select a from t)"
|
||||
> ,In False (Iden "a") (InQueryExpr ms))
|
||||
|
||||
> ,("a > all (select a from t)"
|
||||
> ,BinOp (Iden "a") ">" (SubQueryExpr SqAll ms))
|
||||
> --,("a > all (select a from t)"
|
||||
> -- ,BinOp (Iden "a") ">" (SubQueryExpr SqAll ms))
|
||||
|
||||
> ,("a = some (select a from t)"
|
||||
> ,BinOp (Iden "a") "=" (SubQueryExpr SqSome ms))
|
||||
> --,("a = some (select a from t)"
|
||||
> -- ,BinOp (Iden "a") "=" (SubQueryExpr SqSome ms))
|
||||
|
||||
> ,("a <= any (select a from t)"
|
||||
> ,BinOp (Iden "a") "<=" (SubQueryExpr SqAny ms))
|
||||
> --,("a <= any (select a from t)"
|
||||
> -- ,BinOp (Iden "a") "<=" (SubQueryExpr SqAny ms))
|
||||
> ]
|
||||
> where
|
||||
> ms = makeSelect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue