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 453
453:         def op
454:           JSONBOp.new(self)
455:         end

Cast as jsonb

[Source]

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

[Validate]