add support for 'table t' syntax
This commit is contained in:
parent
4308acb982
commit
72b67166d9
6 changed files with 63 additions and 64 deletions
Language/SQL/SimpleSQL
|
@ -180,6 +180,8 @@
|
|||
> queryExpr (Values vs) =
|
||||
> text "values"
|
||||
> <+> nest 7 (commaSep (map (parens . commaSep . map scalarExpr) vs))
|
||||
> queryExpr (Table t) = text "table" <+> name t
|
||||
|
||||
|
||||
> alias :: Alias -> Doc
|
||||
> alias (Alias nm cols) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue