[Twisted-Python] newbie adbapi question

Itamar Shtull-Trauring twisted at itamarst.org
Tue Mar 11 08:56:10 MST 2003


On 11 Mar 2003 09:36:56 +0000
Martin Waite <martin at datacash.com> wrote:

> Hi,
> 
> I'm making some progress on my application, but there are
> a few ugly looking things in here and I wonder if I'm doing 
> them right:
> 
> 1) one theme (I would have said thread, but I'm not using 
>    threads) of execution requires that 3 database queries
>    are executed one after the other.  My current solution 

Look at the "Transaction" methods in adbapi. It allows you to run a
series of SQL commands at one go.




More information about the Twisted-Python mailing list