On Sun, Aug 10, 2003 at 02:33:38PM -0400, Edmund Dengler wrote:
> On Sun, 10 Aug 2003, Christopher Armstrong wrote:
>> > Nope, Twisted knows nothing about result sets.
>> Maybe I am missing something then. When using the adbapi, and following
> the examples in the HowTo pages, I get a deferred for the query that
> passes in the entire result set. How would I restructure the example(s)
> such that a deferred would only get a single row, and how would I then
> cause the next row to be fetched (via a deferred)?
Ah, yes, we had a miscommunication. I thought by "result set" you
meant PgResultSet, which is the kind of object that pypgsql returns by
default. If you're just talking about lists, the proper term to use is
"list" or perhaps "sequence".
--
Twisted | Christopher Armstrong: International Man of Twistery
Radix | Release Manager, Twisted Project
---------+ http://twistedmatrix.com/users/radix.twistd/