Movatterモバイル変換


[0]ホーム

URL:


postgresql-binary-0.13: Encoders and decoders for the PostgreSQL's binary format
Safe HaskellSafe-Inferred
LanguageHaskell2010

PostgreSQL.Binary.Encoding

Contents

Synopsis

Encoding

typeEncoding =BuilderSource#

encodingBytes ::Encoding ->ByteStringSource#

array ::Word32 ->Array ->EncodingSource#

Turn an array builder into final value.The first parameter is OID of the element type.

array_foldable ::Foldable foldable =>Word32 -> (element ->MaybeEncoding) -> foldable element ->EncodingSource#

A helper for encoding of arrays of single dimension from foldables.The first parameter is OID of the element type.

array_vector ::Word32 -> (element ->Encoding) ->Vector element ->EncodingSource#

A helper for encoding of arrays of single dimension from vectors.The first parameter is OID of the element type.

nullableArray_vector ::Word32 -> (element ->Encoding) ->Vector (Maybe element) ->EncodingSource#

A helper for encoding of arrays of single dimension from vectors.The first parameter is OID of the element type.

hStore_foldable ::Foldable foldable => foldable (Text,MaybeText) ->EncodingSource#

A polymorphicHSTORE encoder.

hStore_hashMap ::HashMapText (MaybeText) ->EncodingSource#

HSTORE encoder from HashMap.

hStore_map ::MapText (MaybeText) ->EncodingSource#

HSTORE encoder from Map.

Primitives

bool ::Bool ->EncodingSource#

int2_int16 ::Int16 ->EncodingSource#

int2_word16 ::Word16 ->EncodingSource#

int4_int32 ::Int32 ->EncodingSource#

int4_word32 ::Word32 ->EncodingSource#

int8_int64 ::Int64 ->EncodingSource#

int8_word64 ::Word64 ->EncodingSource#

float4 ::Float ->EncodingSource#

float8 ::Double ->EncodingSource#

numeric ::Scientific ->EncodingSource#

uuid ::UUID ->EncodingSource#

inet ::NetAddrIP ->EncodingSource#

char_utf8 ::Char ->EncodingSource#

text_strict ::Text ->EncodingSource#

text_lazy ::Text ->EncodingSource#

bytea_strict ::ByteString ->EncodingSource#

bytea_lazy ::ByteString ->EncodingSource#

Time

Some of the functions in this section are distinguished based on theinteger_datetimes setting of the server.

date ::Day ->EncodingSource#

time_int ::TimeOfDay ->EncodingSource#

time_float ::TimeOfDay ->EncodingSource#

timetz_int :: (TimeOfDay,TimeZone) ->EncodingSource#

timetz_float :: (TimeOfDay,TimeZone) ->EncodingSource#

timestamp_int ::LocalTime ->EncodingSource#

timestamp_float ::LocalTime ->EncodingSource#

timestamptz_int ::UTCTime ->EncodingSource#

timestamptz_float ::UTCTime ->EncodingSource#

interval_int ::DiffTime ->EncodingSource#

interval_float ::DiffTime ->EncodingSource#

JSON

json_bytes ::ByteString ->EncodingSource#

json_bytes_lazy ::ByteString ->EncodingSource#

json_ast ::Value ->EncodingSource#

jsonb_bytes ::ByteString ->EncodingSource#

jsonb_bytes_lazy ::ByteString ->EncodingSource#

jsonb_ast ::Value ->EncodingSource#

Array

dataArraySource#

Abstraction for encoding into multidimensional array.

encodingArray ::Encoding ->ArraySource#

nullArray ::ArraySource#

dimensionArray :: (forall b. (b -> a -> b) -> b -> c -> b) -> (a ->Array) -> c ->ArraySource#

Produced byHaddock version 2.26.0


[8]ページ先頭

©2009-2025 Movatter.jp