HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleselda-0.5.2.1Haskell2010

Database.Selda.Debug

Functionality for inspecting and debugging Selda queries.

Synopsis
  • Packageselda-0.5.2.1
  • Exports7
  • LanguageHaskell2010
  • LicenceMIT
  • SourceDebug.hs
datadata OnError
#
Instances3Eq, Ord, Show
  • Eq OnErrorDefined in selda-0.5.2.1 · Database.Selda.Table.Compile
  • Ord OnErrorDefined in selda-0.5.2.1 · Database.Selda.Table.Compile
  • Show OnErrorDefined in selda-0.5.2.1 · Database.Selda.Table.Compile

Default settings for pretty-printing. Geared towards SQLite.

The default definition of ppTypePK is 'defType, so that you don’t have to do anything special if you don’t use special types for primary keys.

valuecompile :: Result a => Query s a -> (Text, [Param])

Compile a query into a parameterised SQL statement.

The types given are tailored for SQLite. To translate SQLite types into whichever types are used by your backend, use compileWith.