edge badge
Methods
A
T
Instance Public methods
accessor()
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 298
def accessor
  ActiveRecord::Store::StringKeyedHashAccessor
end
type()
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 286
def type; :hstore end
type_cast(value)
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 292
def type_cast(value)
  return if value.nil?

  ConnectionAdapters::PostgreSQLColumn.string_to_hstore value
end
type_cast_for_write(value)
# File activerecord/lib/active_record/connection_adapters/postgresql/oid.rb, line 288
def type_cast_for_write(value)
  ConnectionAdapters::PostgreSQLColumn.hstore_to_string value
end