On Sep 3, 4:09 pm, Iñaki Baz Castillo <[email protected]> wrote:
> Hi, from a MySQL table I get a blob field (with attribute "BINARY"). But in
> fact it's a string (a XML document).
>
> To extract the content I use #to_s and it seems to work, but I don't see it
> documented.
>
> Am I right?

It should be returned as a Sequel::SQL::Blob instance. but that
depends on the adapter (the native adapter and JDBC adapter does, the
DataObjects adapter does not). Sequel::SQL::Blob is a string subclass,
so this shouldn't cause problems in general.

Can you give an example where this causes problems?

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