Parent

Methods

Class/Module Index [+]

Quicksearch

Sequel::JDBC::Postgres::Dataset::PGArrayConverter

Handle conversions of PostgreSQL array instances

Public Class Methods

new(meth) click to toggle source

Set the method that will return the correct conversion proc for elements of this array.

# File lib/sequel/adapters/jdbc/postgresql.rb, line 118
def initialize(meth)
  @conversion_proc_method = meth
  @conversion_proc = nil
end

Public Instance Methods

call(v) click to toggle source

Convert Java::OrgPostgresqlJdbc4::Jdbc4Array to ruby arrays

# File lib/sequel/adapters/jdbc/postgresql.rb, line 124
def call(v)
  _pg_array(v.array)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.