Top  | Previous | Next

system.db.commitTransaction

Description

Performs a commit for the given transaction. This will make all statements executed against the transaction since its beginning or since the last commit or rollback take effect in the database. Until you commit a transaction, any changes that the transaction makes will not be visible to other connections. Note that if you are done with the transaction, you must close it after you commit it.

Syntax

system.db.commitTransaction(tx)

Parameters

String tx - The transaction ID.

Returns

nothing

Scope

All