Method: Sequel::Postgres::HStoreOp#delete

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

#delete(key) ⇒ Object

Delete the matching entries from the receiver:

hstore_op.delete('a') # delete(hstore, 'a')


181
182
183
# File 'lib/sequel/extensions/pg_hstore_ops.rb', line 181

def delete(key)
  HStoreOp.new(function(:delete, wrap_input_array(wrap_input_hash(key))))
end