[Zope] MySQL queries in Python

Andreas Jung lists at zopyx.com
Tue Aug 1 14:58:12 EDT 2006



--On 1. August 2006 14:50:19 -0400 Muk Yan <mukyan at gmail.com> wrote:

> I know the MySQL query works, but I get garbage results from the python
> script (<Shared.DC.ZRDB.Results.Results instance at 0x132a5c88>).  All I
> want is to contain the results of the SQL query in a list or container.
>

Zope Book 2.7 edition -> RDBMS chapter. The result object is an iterator 
will return a row of the resultset for each iteration.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060801/a5ade912/attachment.bin


More information about the Zope mailing list