MCPcopy
hub / github.com/django/django / _savepoint_commit

Method _savepoint_commit

django/db/backends/base/base.py:373–375  ·  view source on GitHub ↗
(self, sid)

Source from the content-addressed store, hash-verified

371 cursor.execute(self.ops.savepoint_rollback_sql(sid))
372
373 def _savepoint_commit(self, sid):
374 with self.cursor() as cursor:
375 cursor.execute(self.ops.savepoint_commit_sql(sid))
376
377 def _savepoint_allowed(self):
378 # Savepoints cannot be created outside a transaction

Callers 1

savepoint_commitMethod · 0.95

Calls 3

cursorMethod · 0.95
savepoint_commit_sqlMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected