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)
314 315 316 |
# File 'lib/sequel/extensions/pg_json_ops.rb', line 314 def contain_all(other) bool_op(CONTAIN_ALL, wrap_input_array(other)) end |