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;
Parameter | Type | Description |
---|---|---|
db | DatabaseConnection | Handle to a database connection |
Return Value
Returns a Transaction object.