[Twisted-Python] ADBAPI and individual rows
justin at gnubia.net
Fri Aug 8 23:12:19 EDT 2003
adbapi could almost definitely be extended to have a special method or
paramater/flag to the existing methods for doing this.
On Fri, 2003-08-08 at 18:12, Edmund Dengler wrote:
> Digging a bit more into the DB side, and I wonder a bit about the API for
> adbapi. From what I can tell, the runQuery() will return a Deferred for
> the whole result set (which implies the result set is in memory). Is there
> a method or style for running a query in which each row will be passed
> back through a Deferred one at a time? (Basically, each cycle through
> reactor.run() would be returning a single row).
> What I am looking for is how to deal with a large result set without
> requiring the whole set be in memory. Should I be looking elsewhere within
> Twisted to do this?
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030808/3437fc11/attachment.pgp
More information about the Twisted-Python