Handle arrays in bound variables
# File lib/sequel/extensions/pg_array.rb, line 212 def bound_variable_arg(arg, conn) case arg when PGArray bound_variable_array(arg.to_a) when Array bound_variable_array(arg) else super end end
Make the column type detection handle registered array types.
# File lib/sequel/extensions/pg_array.rb, line 224 def schema_column_type(db_type) if (db_type =~ /\A([^(]+)(?:\([^(]+\))?\[\]\z/o) && (type = ARRAY_TYPES[$1]) type else super end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.