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

James Y Knight foom at fuhm.net
Fri Jun 4 11:09:45 MDT 2004


On Jun 4, 2004, at 12:01 PM, Stephen Waterbury wrote:
> Still, that means that anyone who wants to get a mapped query
> result from adpapi will have to have that construction in
> their code.  I prefer to have it in adbapi, myself, since
> it is a relatively low-level pattern.

It's not as useful as it could be, however. For example, how can you 
autogenerate a table from that? The dictionaries don't have an 
ordering. Here's what I use. (I sent a previous version of this to the 
list a long time ago, too)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtuple.py.gz
Type: application/x-gzip
Size: 4483 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20040604/83c4210e/attachment-0002.bin>
-------------- next part --------------


James


More information about the Twisted-Python mailing list