Click or drag to resize

AqlFunctionApiClientDeleteKillRunningAqlQueryAsync Method

Kills an AQL query in the currently selected database or in all databases. DELETE /_api/query/{query-id}

Namespace:  ArangoDBNetStandard.AqlFunctionApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public virtual Task<ResponseBase> DeleteKillRunningAqlQueryAsync(
	string queryId,
	DeleteKillRunningAqlQueryQuery query = null
)

Parameters

queryId
Type: SystemString
The id of the query to kill.
query (Optional)
Type: ArangoDBNetStandard.AqlFunctionApi.ModelsDeleteKillRunningAqlQueryQuery
The query parameters of the request. If All parameter is set to true, it will attempt to kill the specified query in all databases, not just the selected one.

Return Value

Type: TaskResponseBase

Implements

IAqlFunctionApiClientDeleteKillRunningAqlQueryAsync(String, DeleteKillRunningAqlQueryQuery)
Remarks
Kills a running query in the currently selected database. The query will be terminated at the next cancelation point. Using the All parameter is only allowed in the system database and with superuser privileges.
See Also