Class: PG::BinaryEncoder::Date
- Inherits:
-
SimpleEncoder
- Object
- SimpleEncoder
- PG::BinaryEncoder::Date
- Defined in:
- ext/pg_binary_encoder.c
Overview
This is a encoder class for conversion of Ruby Date objects to PostgreSQL binary date.
String values are expected to contain a binary data with a length of 4 byte.