Skip to main content

startTransaction()

Last updated 10/05/2023

The startTransaction() is a function that will start a new transaction with the external Database Management System (DBMS). It will return a handle to the transaction that may be inspected to check if the start of the transaction is successful or not using the isOK() function provided on the handle.

Available
Server


Function Signature
startTransaction(databaseHandle) : Transaction;

ParameterTypeDescription
databaseHandleDatabaseConnectionHandle to a database connection.

Examples

startTransaction()