MCPcopy
hub / github.com/django/django / _rollback

Method _rollback

django/db/backends/base/base.py:305–308  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

303 return self.connection.commit()
304
305 def _rollback(self):
306 if self.connection is not None:
307 with debug_transaction(self, "ROLLBACK"), self.wrap_database_errors:
308 return self.connection.rollback()
309
310 def _close(self):
311 if self.connection is not None:

Callers 1

rollbackMethod · 0.95

Calls 2

debug_transactionFunction · 0.90
rollbackMethod · 0.80

Tested by

no test coverage detected