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.



736
737
738
# File 'lib/sequel/extensions/pg_json_ops.rb', line 736

def op
  JSONOp.new(self)
end