Method: Sequel::Postgres::JSONBOp#delete_path

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

#delete_path(other) ⇒ Object

Removes the given path from the receiver.

jsonb_op.delete_path(:h) # (jsonb #- h)
[View source]

640
641
642
# File 'lib/sequel/extensions/pg_json_ops.rb', line 640

def delete_path(other)
  json_op(DELETE_PATH, wrap_input_array(other))
end