module for working with the result set

Paul McNett p at ulmcnett.com
Tue May 18 00:56:31 EDT 2004


john fabiani writes:

> I know about the MySQL Dictcusor but I'm using Postgres.  I'm
> not married to Postgres but I had excellent success with it
> along with a VFP front end.

Oops I thought it was you that was using MySQL, sorry my bad. I 
had some code lying around that would generate a dictcursor 
generically - check on ASPN in the Python Cookbook and search 
for 'lazy db'.

> BTW is the MySQL Dictclass writen in "C" (part of the driver)
> or a python class/module?  Maybe  I can copy the code if it's
> python. thanks

IIRC it is pure Python.

-- 
Paul
http://www.paulmcnett.com




More information about the Python-list mailing list