Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Overview

Creates a connection to the relevant system with the information defined on the domain and runs the query. Returns the number of affected rows

number $Database.ExecuteNonQuery(connectionName: string, query: string, timeout: number, parameters: object)

Arguments

string connectionName
name of external database name
string query
query to be run
number timeout
request timeout. Optional.
object parameters
parameters set on the query. Optional.

Example

$Database.ExecuteNonQuery("AppDB", "delete Users where Id = @Id", 100, {
    Id: "1"
});

See Also

  • No labels