Name

duro::begin - start a transaction

Synopsis

duro::begin arg ?arg?

Description

Starts a transaction and returns an identifier for the transaction.

duro::begin env dbname

If invoked with two arguments, duro::begin starts a toplevel transaction in the database environment specified by env which interacts with the database dbname.

duro::begin txId

If invoked with one argument, duro::begin starts a child transaction of the transaction specified by txId.