Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
These is the pretty printing functions, which produce SQL source from ASTs. The code attempts to format the output in a readable way.
Synopsis
- prettyQueryExpr :: Dialect -> QueryExpr -> String
- prettyScalarExpr :: Dialect -> ScalarExpr -> String
- prettyStatement :: Dialect -> Statement -> String
- prettyStatements :: Dialect -> [Statement] -> String
Documentation
prettyQueryExpr :: Dialect -> QueryExpr -> String Source #
Convert a query expr ast to concrete syntax.
prettyScalarExpr :: Dialect -> ScalarExpr -> String Source #
Convert a value expr ast to concrete syntax.