PG::TextEncoder::
Boolean class
Superclass | PG::SimpleEncoder |
This is the encoder class for the PostgreSQL bool type.
Ruby value false is encoded as SQL FALSE
value. Ruby value true is encoded as SQL TRUE
value. Any other value is sent as it’s string representation.