struct
CQL::Postgres::Types::Codec
- CQL::Postgres::Types::Codec
- Struct
- Value
- Object
Overview
How one column type travels and is turned into a Crystal value. #binary
must match the result format requested in Bind: a binary codec fed text
(or the reverse) decodes garbage without failing.
Defined in:
postgres/types/codecs.crConstructors
Instance Method Summary
- #binary : Bool
- #clone
- #copy_with(binary _binary = @binary, decode _decode = @decode)
- #decode : Proc(Bytes, Value)
- #format : Int16