Files

Class/Module Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Hstore

Public Instance Methods

accessor() click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 311
def accessor
  ActiveRecord::Store::StringKeyedHashAccessor
end
type() click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 299
def type; :hstore end
type_cast(value) click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 305
def type_cast(value)
  return if value.nil?

  ConnectionAdapters::PostgreSQLColumn.string_to_hstore value
end
type_cast_for_write(value) click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 301
def type_cast_for_write(value)
  ConnectionAdapters::PostgreSQLColumn.hstore_to_string value
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.