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

Method commit

tortoise/backends/sqlite/client.py:250–254  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

248 self._finalized = True
249
250 async def commit(self) -> None:
251 if self._finalized:
252 raise TransactionManagementError("Transaction already finalised")
253 await self._connection.commit()
254 self._finalized = True
255
256 async def savepoint(self) -> None:
257 self._savepoint = _gen_savepoint_name()

Callers 3

execute_manyMethod · 0.45
__aexit__Method · 0.45
beginMethod · 0.45

Calls 1

Tested by

no test coverage detected