transactionRollback

Description

Rolls back the current active transaction to the specified savepoint.

Categories

Related

History

ColdFusion 9: Added this function.

Syntax

TransactionRollback([savepoint])

Attributes

AttributeDescriptionRequiredDefault
savepointAn optional string identifier for the savepoint. Savepoints let you roll back portions of a transaction.

Returns

Nothing

Usage

You can call this function only from within an active transaction.
If you do not specify a savepoint, the current active transaction rolls back to the top-level (original) transaction.

Example

See the example for TransactionCommit.