connection.setautocommit

setautocommit(c)

Sets the autocommit mode.

Parameters

c : int

The boolean autocommit mode.