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")