Module Sequel::Postgres::JSONOpMethods
In: lib/sequel/extensions/pg_json_ops.rb

Methods

pg_json   pg_jsonb  

Public Instance methods

Wrap the receiver in an JSONOp so you can easily use the PostgreSQL json functions and operators with it.

[Source]

     # File lib/sequel/extensions/pg_json_ops.rb, line 343
343:       def pg_json
344:         JSONOp.new(self)
345:       end

Wrap the receiver in an JSONBOp so you can easily use the PostgreSQL jsonb functions and operators with it.

[Source]

     # File lib/sequel/extensions/pg_json_ops.rb, line 349
349:       def pg_jsonb
350:         JSONBOp.new(self)
351:       end

[Validate]