Safe Haskell | Safe-Inferred |
---|---|
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 -> Text
- prettyScalarExpr :: Dialect -> ScalarExpr -> Text
- prettyStatement :: Dialect -> Statement -> Text
- prettyStatements :: Dialect -> [Statement] -> Text
Documentation
prettyScalarExpr :: Dialect -> ScalarExpr -> Text Source #
Convert a value expr ast to Text.