On Dec 14, 3:07 am, Jim Morris <[EMAIL PROTECTED]> wrote:
> Is there support for the postgresql data type array? (or SQL Array)?
I've added support for subscript access using the / operator on
symbols, e.g.:
DB[:stats].select(:user_id, (:year/1).as(:value)).where {:year/1 >
0}.sql
#=> "SELECT user_id, year[1] AS value FROM stats WHERE (year[1] >
0)"
Symbol#[] is used for notating functions, which are - I believe - much
more frequently used than subscript access. Anyway it's there in the
trunk if you want to give it a go.
sharon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
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
-~----------~----~----~----~------~----~------~--~---