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

TransactionRollback(savepoint=[string])

Arguments

ArgumentTypeRequiredDescriptionDefault

savepoint

string

false

String name of the savepoint to rollback to. If not provided, the entire transaction will be rolled back.

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC