Method: Sequel::Postgres::HStoreOp#contained_by

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

#contained_by(other) ⇒ Object

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

hstore_op.contained_by(:h) # (hstore <@ h)
[View source]

167
168
169
# File 'lib/sequel/extensions/pg_hstore_ops.rb', line 167

def contained_by(other)
  bool_op(CONTAINED_BY, wrap_input_hash(other))
end