Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/PyMySQL/PyMySQL
/ begin
Method
begin
pymysql/connections.py:489–492 ·
view source on GitHub ↗
Begin transaction.
(self)
Source
from the content-addressed store, hash-verified
487
self._read_ok_packet()
488
489
def
begin(self):
490
""
"Begin transaction."
""
491
self._execute_command(COMMAND.COM_QUERY,
"BEGIN"
)
492
self._read_ok_packet()
493
494
def
commit(self):
495
""
"
Callers
1
test_SSCursor
Method · 0.80
Calls
2
_execute_command
Method · 0.95
_read_ok_packet
Method · 0.95
Tested by
1
test_SSCursor
Method · 0.64