Lucee Tag Reference
<cftransaction>
Groups multiple queries into a single unit. The cftransaction
tag provides commit and rollback processing.
Body
This tag must have a body.
Example
<cftransaction [action=begin|commit|setSavePoint|rollback] [isolation=string]> </cftransaction>
This tag is also supported within cfscript
<cfscript> transaction [action=begin|commit|setSavePoint|rollback] [isolation=string] { [...] } </cfscript>
Attributes
The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
| Name | Type | Required | Description |
|---|---|---|---|
| action | string | No | - begin: The start of the block of code to execute. |
| isolation | string | No | ODBC lock type. |