MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / create_xid

Method create_xid

lib/sqlalchemy/engine/interfaces.py:2111–2119  ·  view source on GitHub ↗

Create a two-phase transaction ID. This id will be passed to do_begin_twophase(), do_rollback_twophase(), do_commit_twophase(). Its format is unspecified.

(self)

Source from the content-addressed store, hash-verified

2109 raise NotImplementedError()
2110
2111 def create_xid(self) -> Any:
2112 """Create a two-phase transaction ID.
2113
2114 This id will be passed to do_begin_twophase(),
2115 do_rollback_twophase(), do_commit_twophase(). Its format is
2116 unspecified.
2117 """
2118
2119 raise NotImplementedError()
2120
2121 def do_savepoint(self, connection: Connection, name: str) -> None:
2122 """Create a savepoint with the given name.

Callers 1

begin_twophaseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected