Method: Sequel::Postgres::PGArray::Creator#call

Defined in:
lib/sequel/extensions/pg_array.rb,
lib/sequel/extensions/pg_array.rb

#call(string) ⇒ Object

Parse the string using Parser with the appropriate converter, and return a PGArray with the appropriate database type.



439
440
441
# File 'lib/sequel/extensions/pg_array.rb', line 439

def call(string)
  PGArray.new(Sequel::Postgres.parse_pg_array(string, @converter), @type)
end