Module epgsql_codec_hstore

Codec for hstore type.

Behaviours: epgsql_codec.

Description

Codec for hstore type. https://www.postgresql.org/docs/current/static/hstore.html XXX: hstore not a part of postgresql builtin datatypes, it's in contrib. It should be enabled in postgresql by command CREATE EXTENSION hstore $PG$/contrib/hstore/

Data Types

data()

data() = data_in() | data_out()

data_in()

data_in() = {[{key_in(), binary()}]}

data_out()

data_out() = {[{Key::binary(), Value::binary()}]}

key_in()

key_in() = list() | binary() | atom() | integer() | float()

jiffy-style maps

Function Index

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

Function Details

decode/3

decode(X1, X2, X3) -> any()

decode_text/3

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

encode/3

encode(X1, X2, X3) -> any()

init/2

init(X1, X2) -> any()

names/0

names() -> any()


Generated by EDoc