Method: Sequel::Postgres::HStoreOp#record_set

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

#record_set(record) ⇒ Object

Update the values in a record using entries in the receiver:

hstore_op.record_set(:a) # (a #= hstore)


234
235
236
# File 'lib/sequel/extensions/pg_hstore_ops.rb', line 234

def record_set(record)
  Sequel::SQL::PlaceholderLiteralString.new(RECORD_SET, [record, value])
end