MCPcopy 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_SSCursorMethod · 0.80

Calls 2

_execute_commandMethod · 0.95
_read_ok_packetMethod · 0.95

Tested by 1

test_SSCursorMethod · 0.64