hssqlppp-0.5.18: SQL parser and type checker

Safe HaskellNone
LanguageHaskell2010

Database.HsSqlPpp.Pretty

Description

Functions to convert sql asts to valid SQL source code.

Some effort is made produce human readable output.

Synopsis

Documentation

printStatements :: PrettyPrintFlags -> StatementList -> Text

Convert an ast back to valid SQL source.

printQueryExpr :: PrettyPrintFlags -> QueryExpr -> Text

pretty print a query expression

printScalarExpr :: PrettyPrintFlags -> ScalarExpr -> Text

pretty print a scalar expression