Method: Sequel::Postgres::HStoreOp#contains

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

#contains(other) ⇒ Object

Check if the receiver contains all entries in the other hstore:

hstore_op.contains(:h) # (hstore @> h)


160
161
162
# File 'lib/sequel/extensions/pg_hstore_ops.rb', line 160

def contains(other)
  bool_op(CONTAINS, wrap_input_hash(other))
end