Method: Sequel::Postgres::HStoreOp#contain_all
- Defined in:
- lib/sequel/extensions/pg_hstore_ops.rb
permalink #contain_all(other) ⇒ Object
Check if the receiver contains all of the keys in the given array:
hstore_op.contain_all(:a) # (hstore ?& a)
146 147 148 |
# File 'lib/sequel/extensions/pg_hstore_ops.rb', line 146 def contain_all(other) bool_op(CONTAIN_ALL, wrap_input_array(other)) end |