system.db.execUpdateAsync
This function is used in Python Scripting.
Descriptionβ
Executes an update query from a Named Query resource through the Store and Forward system.
Client Permission Restrictionsβ
This scripting function has no Client Permission restrictions.
Syntaxβ
system.db.execUpdateAsync(path, [parameters], [project])
Parametersβ
| Type | Parameter | Description |
|---|---|---|
| String | path | The full path of the Named Query. |
| Dictionary | parameters | A dictionary of parameters for the query. [optional] |
| String | project | A project name that the query exists in. [optional] Note: If no project is specified when run in the Gateway scope, an associated project or the Gateway scripting project will be used. |
Returnsβ
Boolean - Returns a boolean flag indicating of True if successfully sent to the Store and Forward system.
Scopeβ
Gateway, Vision Client, Perspective Session
Code Examplesβ
Simple Example
# This example runs a Named Query in the Gateway scope.
# Request the Named Query to execute.
system.db.execUpdateAsync("folderName/myNamedQuery", "ProjectName")