rollback() Method
Performs a rollback on the connection.
Syntax
connection.rollback()
Remarks
By default, changes are committed before the rollback is performed. Change the autocommit setting with the setautocommit method.
Performs a rollback on the connection.
connection.rollback()
By default, changes are committed before the rollback is performed. Change the autocommit setting with the setautocommit method.