Class: Sequel::Postgres::JSONHash

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

Instance Method Summary collapse

Instance Method Details

#opObject

Wrap the JSONHash instance in an JSONOp, allowing you to easily use the PostgreSQL json functions and operators with literal jsons.


613
614
615
# File 'lib/sequel/extensions/pg_json_ops.rb', line 613

def op
  JSONOp.new(self)
end