Moduleselda-0.5.2.1Haskell2010
Database.Selda.Debug
Functionality for inspecting and debugging Selda queries.
- 1 type
- 6 values
- Packageselda-0.5.2.1
- Exports7
- LanguageHaskell2010
- LicenceMIT
- SourceDebug.hs
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.
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.
Compile a sequence of queries to create the given table, including indexes.
The first query in the sequence is always CREATE TABLE.
Compile a DROP TABLE query.
Compile an INSERT query, given the keyword representing default values
in the target SQL dialect, a table and a list of items corresponding
to the table.
compileUpdate Compile an UPDATE query.