MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / do_begin_twophase

Method do_begin_twophase

lib/sqlalchemy/engine/interfaces.py:2152–2160  ·  view source on GitHub ↗

Begin a two phase transaction on the given connection. :param connection: a :class:`_engine.Connection`. :param xid: xid

(self, connection: Connection, xid: Any)

Source from the content-addressed store, hash-verified

2150 raise NotImplementedError()
2151
2152 def do_begin_twophase(self, connection: Connection, xid: Any) -> None:
2153 """Begin a two phase transaction on the given connection.
2154
2155 :param connection: a :class:`_engine.Connection`.
2156 :param xid: xid
2157
2158 """
2159
2160 raise NotImplementedError()
2161
2162 def do_prepare_twophase(self, connection: Connection, xid: Any) -> None:
2163 """Prepare a two phase transaction on the given connection.

Callers 2

_begin_twophase_implMethod · 0.45

Calls

no outgoing calls

Tested by 1