add support for ansi standard offset and fetch syntax
This commit is contained in:
parent
8093498f2d
commit
b2728ec9bf
5 changed files with 47 additions and 39 deletions
Language/SQL/SimpleSQL
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue