MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / do_rollback

Method do_rollback

lib/sqlalchemy/engine/interfaces.py:2023–2032  ·  view source on GitHub ↗

Provide an implementation of ``connection.rollback()``, given a DB-API connection. :param dbapi_connection: a DBAPI connection, typically proxied within a :class:`.ConnectionFairy`.

(self, dbapi_connection: PoolProxiedConnection)

Source from the content-addressed store, hash-verified

2021 raise NotImplementedError()
2022
2023 def do_rollback(self, dbapi_connection: PoolProxiedConnection) -> None:
2024 """Provide an implementation of ``connection.rollback()``, given
2025 a DB-API connection.
2026
2027 :param dbapi_connection: a DBAPI connection, typically
2028 proxied within a :class:`.ConnectionFairy`.
2029
2030 """
2031
2032 raise NotImplementedError()
2033
2034 def do_commit(self, dbapi_connection: PoolProxiedConnection) -> None:
2035 """Provide an implementation of ``connection.commit()``, given a

Callers 2

first_connectFunction · 0.45
_rollback_implMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected