Thanks for your comments Daniele. I've abandoned the idea of getting rid of
fetchall(), fetchmany() and fetchone(), but I've kept the idea of execute()
returning self. I've implemented it in my fantasy DB-API 3 branch at
https://github.com/tlocke/pg8000/tree/three.
Cheers,
Tony.
On 25 October 2
What sort of thing do you have in mind? Perhaps something where the
execute() method returns immediately, and a callback function is called
when the query is complete?
This could be implemented in a library on top of DB-API. But should it be
part of the spec?
Cheers,
Tony.
On 25 October 2013 0