[Twisted-Python] mapped resultsets for adbapi: "runQueryMapped"

Federico Di Gregorio fog at initd.org
Fri Jun 4 04:29:32 EDT 2004


Lì venerdì, 2004/06/04 alle 02:33, -0400, Stephen Waterbury ha scritto:
> Gang,
> 
> I don't know whether this is of interest to anyone else, but
> I needed it for my stuff and I was hoping it might be suitable for
> inclusion in adbapi:  it defines a new adbapi.ConnectionPool method
> called 'runQueryMapped' (and corresponding '_runQueryMapped') whose
> return value is a list of dicts that map column names to values
> (rather than the list of lists of values that runQuery returns).

i think it is a usefull addition.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                fog at debian.org
INIT.D Developer                                           fog at initd.org
  We are all dust, Saqi, so play the lute
                    We are all wind, Saqi, so bring wine. -- Omar Khayam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20040604/8e5776f7/attachment.pgp 


More information about the Twisted-Python mailing list