env txn API Ref

env txn
	[-nosync]
	[-nowait]
	[-parent txnid]
	[-sync]
Description(env txn)

The env txn command begins a transaction. The returned transaction handle is bound to a Tcl command of the form env.txnX, where X is an integer starting at 0 (for example, env0.txn0 and env0.txn1). It is through this Tcl command that the script accesses the transaction methods.

The options are as follows:


-nosync -nowait -parent txnid -sync

The env txn command returns a transaction handle on success.

In the case of error, a Tcl error is thrown.


APIRef

Copyright (c) 1996,2008 Oracle. All rights reserved.