klyn.databases.sql.Connection.rollback
method
public rollback(savepoint as Savepoint = null) as Void throws SQLException
Description

Rolls back the current transaction or one savepoint.

import klyn.databases.sql

connection.rollback()
Throws
  • SQLException if the connection is closed, the transaction state is invalid, or the database reports an error.