On Thu, May 25, 2006 at 12:58:42PM +0100, Fadhley, Salim (FID) wrote:
> Now can I use transactions to bundle together a bunch of inserts
> that were not done via SQLBulder?

   Transactions are served in backends by connections, so you must run
queries via the same connection:

tx = connection.transaction()
tx.query("INSERT...")
tx.query("UPDATE...")
ts.commit()

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to