system.db.commitTransaction
This function is used in Python Scripting.
Description
Performs a commit for the given transaction. This will make all statements executed against the transaction since its beginning or since the last commit or rollback take effect in the database. Until you commit a transaction, any changes that the transaction makes will not be visible to other connections. Note that if you are done with the transaction, you must close it after you commit it.
Client Permission Restrictions
Permission Type: Legacy Database Access
Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.
Syntax
system.db.commitTransaction(tx)
Parameters
Type | Parameter | Description |
---|---|---|
String | tx | The transaction ID. |
Returns
Nothing
Scope
All
Code Examples
There are no code examples available for this function.