[Zope-DB] gadlfy/commit

alan runyan alan runyan" <runyaga@runyaga.com
Tue, 11 Jun 2002 21:23:32 -0500


it will automatically  commit if the REQUEST completes without an Exception.
if you want to abort the commit you will need to raise an Exception.

~runyaga

> I have been trying to grok the commit/rollback mechanism for Gadfly.  I
can see
> how to do it all from Python, but I don't see how to do it from <dtml ...
> Is it a method call on the connection object?  What's the sequence?
begin,
> data base operations, and finally either a commit or and abort.