PG::TextEncoder::
Numeric class
| Superclass | PG::SimpleEncoder |
This is the encoder class for the PostgreSQL numeric types.
It converts Integer, Float and BigDecimal objects. All other objects are expected to respond to to_s.
As soon as this class is used, it requires the ‘bigdecimal’ gem.