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

Stephen C. Waterbury golux at comcast.net
Fri Jun 4 14:44:21 EDT 2004

James Y Knight wrote:
> 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. 

1.  Ordering is a *totally* orthogonal issue.
2.  I don't autogenerate tables.  My stuff is not a browser application --
     it's a web service.  Remember:  web stuff is about .01% of Twisted's
     potential power.  ;)

> Here's what I use. (I sent a previous version of this to the list a long 
> time ago, too)

Thanks, I'll look at that.


More information about the Twisted-Python mailing list