Safe Haskell | None |
---|---|
Language | Haskell2010 |
Hasql.Postgres
Documentation
Settings of a Postgres backend.
Constructors
Postgres | |
Instances
Backend Postgres | |
Mapping Postgres Bool | Maps to "bool". |
Mapping Postgres Char | Maps to "varchar". |
Mapping Postgres Double | Maps to "float8". |
Mapping Postgres Float | Maps to "float4". |
Mapping Postgres Int | Maps to "int8". |
Mapping Postgres Int8 | Maps to "int2". |
Mapping Postgres Int16 | Maps to "int2". |
Mapping Postgres Int32 | Maps to "int4". |
Mapping Postgres Int64 | Maps to "int8". |
Mapping Postgres Word | Maps to "int8". |
Mapping Postgres Word8 | Maps to "int2". |
Mapping Postgres Word16 | Maps to "int4". |
Mapping Postgres Word32 | Maps to "int8". |
Mapping Postgres Word64 | Maps to "int8". |
Mapping Postgres ByteString | Maps to "bytea". |
Mapping Postgres LocalTime | Maps to "timestamp". |
Mapping Postgres ZonedTime | Maps to "timestamptz". |
Mapping Postgres TimeOfDay | Maps to "time". |
Mapping Postgres UTCTime | Maps to "timestamp". |
Mapping Postgres Day | Maps to "date". |
Mapping Postgres Text | Maps to "text". |
Mapping Postgres Scientific | Maps to "numeric". |
Mapping Postgres a => Mapping Postgres (Maybe a) | Maps to the same type as the underlying value,
encoding the |
data StatementArgument Postgres = StatementArgument {
| |
data Result Postgres = Result {} | |
data Connection Postgres = Connection {
|