Connection.rollbackTransaction

bool rollbackTransaction(string name = null)

Rollbacks the given transaction. This means that all changes made to the underlying data source since the last call to #[gda.connection.Connection.beginTransaction] or #[gda.connection.Connection.commitTransaction] will be discarded.

Parameters

namethe name of the transation to commit, or null

Returns

true if the operation was successful, false otherwise.

Throws

[ConnectionException]