Module epgsql_codec_timerange

Codec for tsrange, tstzrange, daterange types.

Behaviours: epgsql_codec.

See also: epgsql_codec_datetime.

Description

Codec for tsrange, tstzrange, daterange types.

Data Types

data()

data() = {left(), right()} | empty

left()

left() = minus_infinity | epgsql_codec_datetime:data()

right()

right() = plus_infinity | epgsql_codec_datetime:data()

Function Index

decode/3
decode_text/3
encode/3
init/2
names/0

Function Details

decode/3

decode(X1, Type, EncMod) -> any()

decode_text/3

decode_text(V, X2, X3) -> any()

encode/3

encode(X1, T, CM) -> any()

init/2

init(X1, Sock) -> any()

names/0

names() -> any()


Generated by EDoc