Movatterモバイル変換


[0]ホーム

URL:


postgresql-binary-0.3.0: Encoders and decoders for the PostgreSQL's binary format

Safe HaskellNone
LanguageHaskell2010

PostgreSQLBinary.Decoder

Contents

Synopsis

Documentation

typeD a =ByteString ->EitherText aSource

A function for decoding a byte string into a value.

Numbers

int :: (Integral a,Bits a) =>D aSource

Any of PostgreSQL integer types.

float4 ::DFloatSource

float8 ::DDoubleSource

numeric ::DScientificSource

Text

char ::DCharSource

A UTF-8-encoded char.

text ::DTextSource

Any of the variable-length character types: BPCHAR, VARCHAR, NAME and TEXT.

bytea ::DByteStringSource

Date and Time

date ::DDaySource

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.

interval ::DDiffTimeSource

Misc

bool ::DBoolSource

uuid ::DUUIDSource

array ::DDataSource

Arbitrary array.

Returns an intermediate representation, which can then be used to decode into a specific data type.

Produced byHaddock version 2.15.0


[8]ページ先頭

©2009-2025 Movatter.jp