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.



1369
1370
1371
# File 'lib/sequel/extensions/pg_json_ops.rb', line 1369

def op
  JSONOp.new(self)
end