Method: Sequel::Postgres::HStoreOp#contain_any
- Defined in:
- lib/sequel/extensions/pg_hstore_ops.rb
#contain_any(other) ⇒ Object
Check if the receiver contains any of the keys in the given array:
hstore_op.contain_any(:a) # (hstore ?| a)
153 154 155 |
# File 'lib/sequel/extensions/pg_hstore_ops.rb', line 153 def contain_any(other) bool_op(CONTAIN_ANY, wrap_input_array(other)) end |