MCPcopy Index your code
hub / github.com/tortoise/tortoise-orm / commit

Method commit

tortoise/backends/mysql/client.py:264–268  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

262 self._finalized = False
263
264 async def commit(self) -> None:
265 if self._finalized:
266 raise TransactionManagementError("Transaction already finalised")
267 await self._connection.commit()
268 self._finalized = True
269
270 @translate_exceptions
271 async def savepoint(self) -> None:

Callers 3

execute_manyMethod · 0.45

Calls 1

Tested by 2