Object
Callable object that takes the input string and parses it using Parser.
The converter callable that is called on each member of the array to convert it to the correct type.
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 459 def initialize(type, converter=nil) @type = type @converter = converter end
:nocov: Use sequel_pg's C-based parser if it has already been defined.
# File lib/sequel/extensions/pg_array.rb, line 467 def call(string) PGArray.new(Sequel::Postgres.parse_pg_array(string, @converter), @type) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.