Method: Sequel::Postgres::HStore::DatabaseMethods.extended

Defined in:
lib/sequel/extensions/pg_hstore.rb

.extended(db) ⇒ Object



131
132
133
134
135
136
# File 'lib/sequel/extensions/pg_hstore.rb', line 131

def self.extended(db)
  db.instance_exec do
    add_named_conversion_proc(:hstore, &HStore.method(:parse))
    @schema_type_classes[:hstore] = HStore
  end
end