Files

Class/Module Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Array

Attributes

subtype[R]

Public Class Methods

new(subtype) click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 140
def initialize(subtype)
  @subtype = subtype
end

Public Instance Methods

type() click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 137
def type; @subtype.type end
type_cast(value) click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 144
def type_cast(value)
  if ::String === value
    ConnectionAdapters::PostgreSQLColumn.string_to_array value, @subtype
  else
    value
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.