text
, varchar
, bytea
.
Behaviours: epgsql_codec.
See also: epgsql_codec_bpchar - for 'char' and 'char(N)'.
Codec for text
, varchar
, bytea
.
If input for text
or varchar
is provided as a list, not binary, and it
contains not just byte()
, an attempt to perform unicode conversion will be made.
integer()
, float()
and atom()
are automatically converted to
strings, but this kind of conversion might be eventually removed.
data() = in_data() | out_data()
in_data() = binary() | iolist() | string()
out_data() = binary()
decode/3 | |
decode_text/3 | |
encode/3 | |
init/2 | |
names/0 |
decode(Bin, X2, X3) -> any()
decode_text(V, X2, X3) -> any()
encode(String, Name, State) -> any()
init(X1, X2) -> any()
names() -> any()
Generated by EDoc