Method: Sequel::JDBC::Oracle::Dataset#type_convertor
- Defined in:
- lib/sequel/adapters/jdbc/oracle.rb
#type_convertor(map, meta, type, i) ⇒ Object
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'lib/sequel/adapters/jdbc/oracle.rb', line 127 def type_convertor(map, , type, i) case type when NUMERIC_TYPE if .getScale(i) == 0 map[:OracleDecimal] else super end when *TIMESTAMPTZ_TYPES map[TIMESTAMP_TYPE] when CLOB_TYPE map[:OracleClob] else super end end |