Class: Sequel::Postgres::JSONBHash

Inherits:
Object
  • Object
show all
Defined in:
lib/sequel/extensions/pg_json_ops.rb

Instance Method Summary collapse

Instance Method Details

#opObject

Wrap the JSONBHash instance in an JSONBOp, allowing you to easily use the PostgreSQL jsonb functions and operators with literal jsonbs.


629
630
631
# File 'lib/sequel/extensions/pg_json_ops.rb', line 629

def op
  JSONBOp.new(self)
end