Class: PG::TextEncoder::Array
- Inherits:
-
CompositeEncoder
- Object
- CompositeEncoder
- PG::TextEncoder::Array
- Defined in:
- ext/pg_text_encoder.c
Overview
This is the encoder class for PostgreSQL array types.
All values are encoded according to the #elements_type accessor. Sub-arrays are encoded recursively.
This encoder expects an Array of values or sub-arrays as input. Other values are passed through as text without interpretation.