Overview
Creates a connection to the relevant system with the information defined on the domain and runs the queryDataTable $Database.ExecuteQuery(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
arameters set on the query. Optional.
Example
$Database.ExecuteQuery("Deneme", "select * from wDomains where Id=@Id", { Id: "17cec122-a909-45ac-89f9-78b5e96fc0c4" });