Method: Sequel::Postgres::HStoreOp#populate

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

#populate(record) ⇒ Object

Create a new record populated with entries from the receiver:

hstore_op.populate(:a) # populate_record(a, hstore)
[View source]

227
228
229
# File 'lib/sequel/extensions/pg_hstore_ops.rb', line 227

def populate(record)
  SQL::Function.new(:populate_record, record, self)
end