module Sequel::Postgres::JSONOpMethods

Public Instance Methods

pg_json() click to toggle source

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

     # File lib/sequel/extensions/pg_json_ops.rb
1367 def pg_json
1368   JSONOp.new(self)
1369 end
pg_jsonb() click to toggle source

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

     # File lib/sequel/extensions/pg_json_ops.rb
1373 def pg_jsonb
1374   JSONBOp.new(self)
1375 end