Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
languagejs
$Database.ExecuteNonQuery("Deneme", "update wDomains set Status = 1 where Id=@Id", {
    Id: id
});

See Also