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')
[View source]

597
598
599
# File 'lib/sequel/extensions/pg_json_ops.rb', line 597

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