Method: Sequel::Postgres::JSONBOp#contain_all
- Defined in:
- lib/sequel/extensions/pg_json_ops.rb
#contain_all(other) ⇒ Object
Check if the receiver contains all of the keys in the given array:
jsonb_op.contain_all(:a) # (jsonb ?& a)
628 629 630 |
# File 'lib/sequel/extensions/pg_json_ops.rb', line 628 def contain_all(other) bool_op(CONTAIN_ALL, wrap_input_array(other)) end |