MCPcopy
hub / github.com/django/django / savepoint_commit

Method savepoint_commit

django/db/backends/base/base.py:423–431  ·  view source on GitHub ↗

Release a savepoint. Do nothing if savepoints are not supported.

(self, sid)

Source from the content-addressed store, hash-verified

421
422 @async_unsafe
423 def savepoint_commit(self, sid):
424 """
425 Release a savepoint. Do nothing if savepoints are not supported.
426 """
427 if not self._savepoint_allowed():
428 return
429
430 self.validate_thread_sharing()
431 self._savepoint_commit(sid)
432
433 @async_unsafe
434 def clean_savepoints(self):

Callers 2

savepoint_commitFunction · 0.80
__exit__Method · 0.80

Calls 3

_savepoint_allowedMethod · 0.95
_savepoint_commitMethod · 0.95

Tested by

no test coverage detected