(self)
| 618 | self.commit() |
| 619 | |
| 620 | def commit(self): |
| 621 | if len(self.ctx.transactions) > self.transaction_count: |
| 622 | self.engine.do_commit() |
| 623 | self.ctx.transactions = self.ctx.transactions[: self.transaction_count] |
| 624 | |
| 625 | def rollback(self): |
| 626 | if len(self.ctx.transactions) > self.transaction_count: |