Lucee Tag Reference
Tag <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="string"] [isolation="string"]> </cftransaction>
This tag is also supported within cfscript
<cfscript> transaction [action="string"] [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. |