postgresql-binary-0.3.0: Encoders and decoders for the PostgreSQL's binary format
Safe Haskell | None |
---|---|
Language | Haskell2010 |
PostgreSQLBinary.Decoder
Contents
Synopsis
typeD a =ByteString ->EitherText aSource
A function for decoding a byte string into a value.
time ::Bool ->DTimeOfDaySource
Decoding strategy depends on whether the server supportsinteger_datetimes
.
timetz ::Bool ->D (TimeOfDay,TimeZone)Source
Decoding strategy depends on whether the server supportsinteger_datetimes
.
timestamp ::Bool ->DLocalTimeSource
Decoding strategy depends on whether the server supportsinteger_datetimes
.
timestamptz ::Bool ->DUTCTimeSource
Decoding strategy depends on whether the server supportsinteger_datetimes
.
Produced byHaddock version 2.15.0