> Does Sequel support advanced data types, such as geo-data and arrays?

At the very least you get back a string, but sequel is designed to
automatically convert values into the respective Ruby data types. If
you have data that is not converted correctly let me know and we'll
fix it.
>
> Also, does it support casting from one data type to another?
>

You can cast by using the #cast_as method, e.g.:

  DB[:items].select(:name.cast_as(:integer)).sql
  #=> "SELECT cast(name AS integer) FROM items"

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to