class AlgebraDB::Value::Array

Represents Postgres arrays with an inner type.

Constants

Double
Integer
JSONB
Text

Convenience constants

Public Class Methods

of(other) click to toggle source
# File lib/algebra_db/value/array.rb, line 6
def self.of(other)
  Class.new(other) do
    include AlgebraDB::Value::Array::ArrayOps

    def decoder
      AlgebraDB::Value::Array::Decoder.new(super)
    end
  end
end

Public Instance Methods

decoder() click to toggle source
Calls superclass method AlgebraDB::Value#decoder
# File lib/algebra_db/value/array.rb, line 10
def decoder
  AlgebraDB::Value::Array::Decoder.new(super)
end