Allow qualified names ('schema.table') in from clauses
This commit is contained in:
parent
fd42a3cd73
commit
2e91fb9e81
4 changed files with 7 additions and 0 deletions
Language/SQL/SimpleSQL
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue