swap order in select lists so the expression comes first then the alias to match the order in the concrete syntax
This commit is contained in:
parent
552d3f5383
commit
7cf5275615
9 changed files with 43 additions and 46 deletions
Language/SQL/SimpleSQL
|
@ -196,8 +196,8 @@
|
|||
> data QueryExpr
|
||||
> = Select
|
||||
> {qeSetQuantifier :: SetQuantifier
|
||||
> ,qeSelectList :: [(Maybe Name,ValueExpr)]
|
||||
> -- ^ the column aliases and the expressions
|
||||
> ,qeSelectList :: [(ValueExpr,Maybe Name)]
|
||||
> -- ^ the expressions and the column aliases
|
||||
|
||||
TODO: consider breaking this up. The SQL grammar has
|
||||
queryexpr = select <select list> [<table expression>]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue