class Sequel::Postgres::JSONQueryOp

  1. lib/sequel/extensions/pg_json_ops.rb
Superclass: JSONValueOp

Object representing json_query calls

Methods

Public Class

  1. new

Public Instance

  1. wrapper

Attributes

wrapper [R]

How to handle wrapping of results

Public Class methods

new(expr, path, opts=OPTS)

See JSONBaseOp#query for documentation of the options.

[show source]
     # File lib/sequel/extensions/pg_json_ops.rb
1093 def initialize(expr, path, opts=OPTS)
1094   @wrapper = opts[:wrapper]
1095   super
1096 end