add support for functions in tablerefs
This commit is contained in:
parent
adfeac8d16
commit
d49b3ddb99
5 changed files with 15 additions and 6 deletions
Language/SQL/SimpleSQL
|
@ -182,6 +182,8 @@
|
|||
> ,nest 5 $ vcat $ punctuate comma $ map tr ts]
|
||||
> where
|
||||
> tr (TRSimple t) = text t
|
||||
> tr (TRFunction f as) =
|
||||
> text f <> parens (commaSep $ map scalarExpr as)
|
||||
> tr (TRAlias t a cs) =
|
||||
> sep [tr t
|
||||
> ,text "as" <+> text a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue