Class: PG::TextEncoder::QuotedLiteral
- Inherits:
-
CompositeEncoder
- Object
- Coder
- CompositeCoder
- CompositeEncoder
- PG::TextEncoder::QuotedLiteral
- Defined in:
- ext/pg_text_encoder.c
Overview
This is the encoder class for PostgreSQL literals.
A literal is quoted and escaped by the ‘ character.
Constant Summary
Constants inherited from Coder
Coder::FORMAT_ERROR_MASK, Coder::FORMAT_ERROR_TO_PARTIAL, Coder::FORMAT_ERROR_TO_RAISE, Coder::FORMAT_ERROR_TO_STRING, Coder::TIMESTAMP_APP_LOCAL, Coder::TIMESTAMP_APP_UTC, Coder::TIMESTAMP_DB_LOCAL, Coder::TIMESTAMP_DB_UTC
Instance Attribute Summary
Attributes inherited from CompositeCoder
Attributes inherited from Coder
Method Summary
Methods inherited from CompositeCoder
#delimiter, #delimiter=, #elements_type=, #inspect, #needs_quotation=, #needs_quotation?, #to_h
Methods inherited from Coder
#==, #decode, #dup, #encode, #flags, #flags=, #format, #format=, #initialize, #inspect, #marshal_dump, #marshal_load, #oid, #oid=, #to_h
Constructor Details
This class inherits a constructor from PG::Coder