class Sequel::Postgres::JSONQueryOp

Object representing json_query calls

Attributes

wrapper[R]

How to handle wrapping of results

Public Class Methods

new(expr, path, opts=OPTS) click to toggle source

See JSONBaseOp#query for documentation of the options.

Calls superclass method Sequel::Postgres::JSONValueOp::new
     # File lib/sequel/extensions/pg_json_ops.rb
1093 def initialize(expr, path, opts=OPTS)
1094   @wrapper = opts[:wrapper]
1095   super
1096 end