Connection.rollbackTransaction

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.

class Connection
bool
rollbackTransaction
(
string name = null
)

Parameters

name string

the name of the transation to commit, or null

Return Value

Type: bool

true if the operation was successful, false otherwise.

Throws