[Twisted-Python] Again about query mapped

Dave Peticolas dave at krondo.com
Mon Jun 14 19:14:59 EDT 2004

You can use runInteraction to get at the cursor directly
(see the example I just posted for another message). The
cursor is wrapped by the transaction object passed as the
first argument to the interaction callback.

trans.execute('select blah blah blah')
desc = trans.description


---- Original Message ----
From:		Mauro Colorio
Date:		Mon 6/14/04 3:15
To:		Twisted-Python at twistedmatrix.com
Subject:	[Twisted-Python] Again about query mapped

I saw in the list messages about mapping query results,
it's a need for me too:)

I found this useful script 


I can't access to the patches today (is a temporary problem?)
so I can't know if the patch sent by Stephen is derived
from that module, but I found it very usefull and with very good 
performance (read the intro of the module), I'm not a lawyer but 
the license seems compatible with LGPL.

the problem to use it over adbapi right now is that in adbapi I can't
access to the cursor.description, how I can reach it? it seems Stepen's
patch make it possible, but I can't access to his code.


More information about the Twisted-Python mailing list