I've added a pg_array extension to Sequel with pretty decent support for 
PostgreSQL string/numeric arrays: 
https://github.com/jeremyevans/sequel/commit/dc25a56e342cde055bac9da209bf731e58742d11

There is still a bit more work necessary to easily use PostgreSQL arrays 
with models, but this at least makes it easy for datasets.  Unlike the 
sequel_column_type_array extension, this supports more types of arrays, as 
well as multi-dimensional arrays.  As far as I know, it's the only ruby 
parser that supports multi-dimensional string arrays.  The string array 
parser is probably fairly slow, I may add a ragel-based parser to sequel_pg 
later if people are finding it to be a bottleneck (send ruby-prof output 
with your request).

Anyway, if you are a PostgreSQL array user, please give this new extension 
a shot.  I'll be expanding on it to make it work nicely with models, and 
probably add another extension that makes it possible to use array 
operators without dropping to literal SQL.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/ocsxHh_c4bMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to