Class Sequel::Postgres::JSONBArray
In: lib/sequel/extensions/pg_json_ops.rb
lib/sequel/extensions/pg_json.rb
Parent: Object

Methods

Public Instance methods

Wrap the JSONBArray instance in an JSONBOp, allowing you to easily use the PostgreSQL jsonb functions and operators with literal jsonbs.

[Source]

     # File lib/sequel/extensions/pg_json_ops.rb, line 374
374:         def op
375:           JSONBOp.new(self)
376:         end

Cast as jsonb

[Source]

    # File lib/sequel/extensions/pg_json.rb, line 95
95:       def sql_literal_append(ds, sql)
96:         super
97:         sql << CAST_JSONB
98:       end

[Validate]