Transaction Engine used in top level transactions.
| 563 | self.transaction_count = transaction_count = len(ctx.transactions) |
| 564 | |
| 565 | class transaction_engine: |
| 566 | """Transaction Engine used in top level transactions.""" |
| 567 | |
| 568 | def do_transact(self): |
| 569 | ctx.commit(unload=False) |
| 570 | |
| 571 | def do_commit(self): |
| 572 | ctx.commit() |
| 573 | |
| 574 | def do_rollback(self): |
| 575 | ctx.rollback() |
| 576 | |
| 577 | class subtransaction_engine: |
| 578 | """Transaction Engine used in sub transactions.""" |