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

Method autocommit

src/MySQLdb/connections.py:268–271  ·  view source on GitHub ↗
(self, on)

Source from the content-addressed store, hash-verified

266 self.close()
267
268 def autocommit(self, on):
269 on = bool(on)
270 if self.get_autocommit() != on:
271 _mysql.connection.autocommit(self, on)
272
273 def cursor(self, cursorclass=None):
274 """

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected