Skip to main content

startTransaction()

Last updated 5/02/2024

The startTransaction() is a function on the Five object 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()