Handle conversions of PostgreSQL array instances
Public Class methods
new
(meth)
Set the method that will return the correct conversion proc for elements of this array.
[show source]
# 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)
Convert Java::OrgPostgresqlJdbc4::Jdbc4Array to ruby arrays
[show source]
# File lib/sequel/adapters/jdbc/postgresql.rb, line 124 def call(v) _pg_array(v.array) end