TAG:CFTRANSACTION

last edited byusericondenny on 01-Oct-2011

Contents

Return to Tags or Functions

cftransaction

Syntax

<cftransaction
	[action="string"]
	[isolation="string"]>
&</cftransaction>

This tag is also supported within cfscript.

<cfscript>
  transaction
	[action="string"]
	[isolation="string"] {
}
</cfscript>

[] = Optional attribute

Description

Groups multiple queries into a single unit. The cftransaction
tag provides commit and rollback processing.

Body

This tag must have a body.

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 <ul>
<li>begin: the start of the block of code to execute</li>
<li>commit: commits a pending transaction</li>
<li>rollback: rolls back a pending transaction</li>
</ul>
isolation string No ODBC lock type.

 
Download in other Formats:
markup Markup | pdf PDF | html HTML | word Word