ZODB.Transaction Management.Transaction.abort
Documentation
Abort the transaction, discarding any changes.
Parameters
Type
Name
Default
Documentation
Boolean
subtransaction
0
A flag indicating whether the work aborted should be for a sub-transaction. By default, a full transaction, including committed subtransactions, are aborted.