Copyright | [email protected] |
---|---|
License | BSD-style |
Maintainer | [email protected] |
Stability | experimental |
Portability | non portable |
Safe Haskell | None |
Language | Haskell98 |
Database.HaskellDB.PrintQuery
Description
Author : Justin Bailey (jgbailey AT gmail DOT com) Pretty printing for Query, PrimQuery, and SqlSelect values. Useful for debugging the library.
Documentation
ppQuery :: Query (Rel r) -> Doc Source
Optimize the query and pretty print the primitive representation.
ppQueryUnOpt :: Query (Rel r) -> Doc Source
Pretty print the primitive representation of an unoptimized query.
ppSelectUnOpt :: Query (Rel r) -> Doc Source
Take a query, turn it into a SqlSelect and print it, with optimizations.
ppSqlSelect :: SqlSelect -> Doc Source
ppSqlUnOpt :: Query (Rel r) -> Doc Source
Take a query, turn it into a SqlSelect and print it.