Skip to main content

startTransaction()

Last updated 16/09/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
isOk()
provided on the handle.

Available

Server

Function Signature
startTransaction(db: DatabaseConnection) : Transaction;

ParameterTypeDescription
db
DatabaseConnectionHandle to a database connection

Return Value

Returns a

object.

Examples

startTransaction()