module Sequel::Postgres::JSONOpMethods

  1. lib/sequel/extensions/pg_json_ops.rb

Methods

Public Instance

  1. pg_json
  2. pg_jsonb

Public Instance methods

pg_json()

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

[show source]
    # File lib/sequel/extensions/pg_json_ops.rb
659 def pg_json
660   JSONOp.new(self)
661 end
pg_jsonb()

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

[show source]
    # File lib/sequel/extensions/pg_json_ops.rb
665 def pg_jsonb
666   JSONBOp.new(self)
667 end