Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Time
- Inherits:
-
Type
- Object
- Type
- ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Time
show all
- Defined in:
- lib/arjdbc/postgresql/base/oid.rb
Instance Method Summary
collapse
Methods inherited from Type
#infinity, #simplified_type
Instance Method Details
#type ⇒ Object
250
|
# File 'lib/arjdbc/postgresql/base/oid.rb', line 250
def type; :time end
|
#type_cast(value) ⇒ Object
252
253
254
255
256
257
258
|
# File 'lib/arjdbc/postgresql/base/oid.rb', line 252
def type_cast(value)
return if value.nil?
ConnectionAdapters::Column.string_to_dummy_time value
end
|