Class: PG::TextEncoder::Identifier

Inherits:
CompositeEncoder show all
Defined in:
ext/pg_text_encoder.c

Overview

This is the encoder class for PostgreSQL identifiers.

An Array value can be used for “schema.table.column” type identifiers:

PG::TextEncoder::Identifier.new.encode(['schema', 'table', 'column'])
   => "schema"."table"."column"