Class | Sequel::Postgres::PGArray::Creator |
In: |
lib/sequel/extensions/pg_array.rb
|
Parent: | Object |
converter | [R] | The converter callable that is called on each member of the array to convert it to the correct type. |
type | [R] | The database type to set on the PGArray instances returned. |
Set the type and optional converter callable that will be used.
# File lib/sequel/extensions/pg_array.rb, line 461 461: def initialize(type, converter=nil) 462: @type = type 463: @converter = converter 464: end