Method: Sequel::Postgres::JSONBOp#-

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

#-(other) ⇒ Object

jsonb expression for deletion of the given argument from the current jsonb.

jsonb_op - "a" # (jsonb - 'a')


299
300
301
# File 'lib/sequel/extensions/pg_json_ops.rb', line 299

def -(other)
  self.class.new(super)
end