Skip to main content
Version: 8.3 Beta 🚧

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​

TypeParameterDescription
StringpathThe full path of the Named Query.
DictionaryparametersA dictionary of parameters for the query. [optional]
StringprojectA 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")