Class Sequel::Postgres::JSONArrayBase
In: lib/sequel/extensions/pg_json.rb
Parent: DelegateClass(Array)

Class representing PostgreSQL JSON/JSONB column array values.

Methods

Included Modules

Sequel::SQL::AliasMethods Sequel::SQL::CastMethods

Public Instance methods

Convert the array to a json string and append a literalized version of the string to the sql.

[Source]

    # File lib/sequel/extensions/pg_json.rb, line 80
80:       def sql_literal_append(ds, sql)
81:         ds.literal_append(sql, Sequel.object_to_json(self))
82:       end

[Validate]