Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: DB
blobs and dtml-sqlvar
 

Index | Next | Previous | View Flat


edeleflie at gmail

Jun 1, 2007, 4:58 PM


Views: 1129
Permalink
blobs and dtml-sqlvar

All,

I'm using MySQLDBA, and I've got a Z SQL Method like this:

select * from myTable where someValue=<dtml-sqlvar myValue type=string>

The issue being that 'myValue' is actually a Hex value in a Blob
column. The only types possible for dtml-sqlvar seem to be string and
int (as far as I can tell).

I noticed that when I use 'type=string' the value is always placed in
inverted commas (and so MySQL thinks it is a string and rejects
it).... and when I put 'type=int' the Hex value is rejected by Zope.

Is it possible that MySQLDBA can not handle blobs / Hex values at all?
I'm confused that dtml-sqlvar only sees 2 types of data.

Can anyone help? ...

Etienne
_______________________________________________
Zope-DB mailing list
Zope-DB[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-db

Subject User Time
blobs and dtml-sqlvar edeleflie at gmail Jun 1, 2007, 4:58 PM
    Re: blobs and dtml-sqlvar ahumboldt at humboldt Jun 4, 2007, 2:26 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.