1
Fork 0

add support for ansi standard offset and fetch syntax

This commit is contained in:
Jake Wheat 2013-12-17 16:00:17 +02:00
commit b2728ec9bf
5 changed files with 47 additions and 39 deletions
Language/SQL/SimpleSQL

View file

@ -145,8 +145,8 @@
> ,qeGroupBy :: [ScalarExpr]
> ,qeHaving :: Maybe ScalarExpr
> ,qeOrderBy :: [(ScalarExpr,Direction)]
> ,qeLimit :: Maybe ScalarExpr
> ,qeOffset :: Maybe ScalarExpr
> ,qeFetch :: Maybe ScalarExpr
> }
> | CombineQueryExpr
> {qe0 :: QueryExpr
@ -177,8 +177,8 @@ I'm not sure if this is valid syntax or not.
> ,qeGroupBy = []
> ,qeHaving = Nothing
> ,qeOrderBy = []
> ,qeLimit = Nothing
> ,qeOffset = Nothing}
> ,qeOffset = Nothing
> ,qeFetch = Nothing}
> -- | represents the Distinct or All keywords, which can be used