haskelldb-2.2.4: A library of combinators for generating and executing SQL statements.

Copyright | Daan Leijen (c) 1999, daan@cs.uu.nl HWT Group (c) 2003, haskelldb-users@lists.sourceforge.net
License | BSD-style
Maintainer | haskelldb-users@lists.sourceforge.net
Stability | experimental
Portability | non-portable
Safe Haskell | None
Language | Haskell98

Database.HaskellDB.Sql.Print

Description

Pretty-print SQL

Synopsis

- ppSql :: SqlSelect -> Doc
- ppUpdate :: SqlUpdate -> Doc
- ppDelete :: SqlDelete -> Doc
- ppInsert :: SqlInsert -> Doc
- ppCreate :: SqlCreate -> Doc
- ppDrop :: SqlDrop -> Doc
- ppSqlExpr :: SqlExpr -> Doc

# Documentation

ppSql :: SqlSelect -> Doc Source

Pretty prints a `SqlSelect`

ppUpdate :: SqlUpdate -> Doc Source

Pretty prints a `SqlUpdate`

ppDelete :: SqlDelete -> Doc Source

Pretty prints a `SqlDelete`

ppInsert :: SqlInsert -> Doc Source

ppCreate :: SqlCreate -> Doc Source

Pretty prints a `SqlCreate`.

ppDrop :: SqlDrop -> Doc Source

Pretty prints a `SqlDrop`.

ppSqlExpr :: SqlExpr -> Doc Source

Pretty prints a `SqlExpr`