PG::
TypeMap class
| Superclass | Object |
This is the base class for type maps. See derived classes for implementations of different type cast strategies ( PG::TypeMapByColumn, PG::TypeMapByOid, etc.).
Find more type maps in the README.
Public Instance Methods
Retrieve the encoders that are used to encode the given values to be submitted to the database server. The selection of the encoders is defined in the derived type map class.
params must be an Array of values to be encoded. It’s like params given to exec_params .
Returns an Array with the same length as params.