TransactionRollback
Rollback the current transaction and discard all unpersisted queries.
, Only the changes made since the last ,,transactionSetSavepoint(),
, or ,,transactionCommit(),
, call will be discarded. ,
, If no transaction is found in the current context, this method will throw an exception.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| String name of the savepoint to rollback to. If not provided, the entire transaction will be rolled back. |
Examples
Related
Last updated