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

Methods

Public Instance methods

Wrap the JSONArray instance in an JSONOp, allowing you to easily use the PostgreSQL json functions and operators with literal jsons.

[Source]

     # File lib/sequel/extensions/pg_json_ops.rb, line 358
358:         def op
359:           JSONOp.new(self)
360:         end

Cast as json

[Source]

    # File lib/sequel/extensions/pg_json.rb, line 87
87:       def sql_literal_append(ds, sql)
88:         super
89:         sql << CAST_JSON
90:       end

[Validate]