Class: PG::TypeMapAllStrings

Inherits:
TypeMap
  • Object
show all
Defined in:
ext/pg_type_map_all_strings.c,
ext/pg_type_map_all_strings.c

Overview

This type map casts all values received from the database server to Strings and sends all values to the server after conversion to String by #to_str .

It is suitable for type casting query bind parameters, result values and COPY IN/OUT data.

This is the default type map. It is used when type_map is not set or set to nil.

Method Summary

Methods inherited from TypeMap

#fit_to_query, #fit_to_result