MCPcopy Create free account
hub / github.com/PyMySQL/mysqlclient / begin

Method begin

src/MySQLdb/connections.py:321–326  ·  view source on GitHub ↗

Explicitly begin a connection. This method is not used when autocommit=False (default).

(self)

Source from the content-addressed store, hash-verified

319 return s
320
321 def begin(self):
322 """Explicitly begin a connection.
323
324 This method is not used when autocommit=False (default).
325 """
326 self.query(b"BEGIN")
327
328 def set_character_set(self, charset, collation=None):
329 """Set the connection character set to charset."""

Callers

nothing calls this directly

Calls 1

queryMethod · 0.95

Tested by

no test coverage detected