From: Gerhard H. <gh...@gh...> - 2004-11-22 08:24:54
|
On Mon, Nov 22, 2004 at 01:03:04PM +1000, Timothy Smith wrote: > can anyone point me to some docs or explainf .commit() for me. what i'm= =20 > intrested in is what happens if i perform some actions, but say i find=20 > an error and do not want to commit those. if i do db.close() are thos=20 > updates/inserts cancled? To discard the changes, use .rollback() on the connection object. Btw. a .close() does an implicit .rollback(). -- Gerhard |