Class: PG::BinaryEncoder::Boolean
- Inherits:
-
SimpleEncoder
- Object
- Coder
- SimpleCoder
- SimpleEncoder
- PG::BinaryEncoder::Boolean
- Defined in:
- ext/pg_binary_encoder.c
Overview
This is the encoder class for the PostgreSQL boolean type.
It accepts true and false. Other values will raise an exception.
Instance Attribute Summary
Attributes inherited from Coder
Method Summary
Methods inherited from Coder
#==, #decode, #dup, #encode, #format, #format=, #initialize, #inspect, #marshal_dump, #marshal_load, #oid, #oid=, #to_h
Constructor Details
This class inherits a constructor from PG::Coder