Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions to convert sql asts to valid SQL source code.
Some effort is made produce human readable output.
- printStatements :: PrettyPrintFlags -> StatementList -> Text
- printQueryExpr :: PrettyPrintFlags -> QueryExpr -> Text
- printScalarExpr :: PrettyPrintFlags -> ScalarExpr -> Text
- data PrettyPrintFlags = PrettyPrintFlags {}
- defaultPPFlags :: PrettyPrintFlags
- data SQLSyntaxDialect
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
data PrettyPrintFlags
data SQLSyntaxDialect
The dialect of SQL to use.