1
Fork 0

Allow qualified names ('schema.table') in from clauses

This commit is contained in:
Sönke Hahn 2014-01-22 15:54:14 +08:00
parent fd42a3cd73
commit 2e91fb9e81
4 changed files with 7 additions and 0 deletions
Language/SQL/SimpleSQL

View file

@ -229,6 +229,7 @@ which have been changed to try to improve the layout of the output.
> ,nest 5 $ vcat $ punctuate comma $ map tr ts]
> where
> tr (TRSimple t) = name t
> tr (TRQualified s t) = name s <> text "." <> name t
> tr (TRLateral t) = text "lateral" <+> tr t
> tr (TRFunction f as) =
> name f <> parens (commaSep $ map valueExpr as)