Movatterモバイル変換


[0]ホーム

URL:


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

Safe HaskellNone
LanguageHaskell2010

PostgreSQLBinary.Array

Description

An intermediate array representation and utilities for its (de)composition.

Synopsis

Documentation

typeData = ([Dimension], [Value],Bool,Word32)Source

A representation of a data serializable to the PostgreSQL array binary format.

Consists of a list of dimensions, a list of encoded elements, a flag specifying, whether it contains any nulls, and an oid.

typeDimension = (Word32,Word32)Source

A width and a lower bound.

Currently the lower bound is only allowed to have a value of1.

typeValue =MaybeByteStringSource

An encoded value.Nothing if it represents aNULL.

asSingleton ::Data ->MaybeValueSource

Access a value of data, if the data represents a single value.

fromListUnsafe :: [Data] ->DataSource

Construct from a non-empty list, taking the shared parameters from the first element.

fromSingleton ::Value ->Bool ->Word32 ->DataSource

elements ::Data -> [Data]Source

Get a list of elements.

Produced byHaddock version 2.15.0


[8]ページ先頭

©2009-2025 Movatter.jp