Class: ActiveRecord::ConnectionAdapters::RedshiftAdapter::OID::Timestamp
- Inherits:
-
Type
- Object
- Type
- ActiveRecord::ConnectionAdapters::RedshiftAdapter::OID::Timestamp
- Defined in:
- lib/active_record/connection_adapters/redshift/oid.rb
Instance Method Summary collapse
Methods inherited from Type
Instance Method Details
#type ⇒ Object
177 |
# File 'lib/active_record/connection_adapters/redshift/oid.rb', line 177 def type; :timestamp; end |
#type_cast(value) ⇒ Object
179 180 181 182 183 184 185 |
# File 'lib/active_record/connection_adapters/redshift/oid.rb', line 179 def type_cast(value) return if value.nil? # FIXME: probably we can improve this since we know it is PG # specific ConnectionAdapters::RedshiftColumn.string_to_time value end |