Safe Haskell | None |
---|---|
Language | Haskell2010 |
- prettyStatements :: PrettyFlags -> [Statement] -> Text
- prettyQueryExpr :: PrettyFlags -> QueryExpr -> Text
- prettyScalarExpr :: PrettyFlags -> ScalarExpr -> Text
- data PrettyFlags = PrettyFlags {}
- defaultPrettyFlags :: PrettyFlags
- data Dialect = Dialect {
- diName :: String
- diSyntaxFlavour :: SyntaxFlavour
- diCanonicalTypeNames :: [(Text, [Text])]
- diTextTypes :: [Text]
- diDatetimeTypes :: [Text]
- diNumberTypes :: [Text]
- namesForAnsiTypes :: [(Text, Text)]
- diDefaultCatalog :: Catalog
- ansiDialect :: Dialect
Documentation
prettyStatements :: PrettyFlags -> [Statement] -> Text Source #
Convert an ast back to valid SQL source.
prettyQueryExpr :: PrettyFlags -> QueryExpr -> Text Source #
pretty print a query expression
prettyScalarExpr :: PrettyFlags -> ScalarExpr -> Text Source #
pretty print a scalar expression
data PrettyFlags Source #
Dialect | |
|