commitTransaction
|
The commitTransaction function closes the specified ObjectRepository database archive file {aGor}
and marks the end of a series of transactions. When a beginTransaction function is evaluated, the
ObjectRepository treats all transactions as temporary until the abortTransaction, or commitTransaction
functions are evaluated. If an abortTransaction function is evaluated, all objects stored in the
ObjectRepository, up to the previous beginTransaction, are rolled back; however, if a commitTransaction
function is evaluated, all objects stored in the ObjectRepository, up to the previous beginTransaction,
are made persistent. Usage Use the commitTransaction function to close an archive file and end a series of transactions.
(commitTransaction aGor ) Returns the Boolean value true, or an error value if an error occurred.
Expression:
Arguments
Name
Type
Description Argument: aGor ObjectRepository
The ObjectRepository whose database archive file is to be closed.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
ObjectRepository | Boolean |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|