IAqlFunctionApiClientDeleteKillRunningAqlQueryAsync 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 Task<ResponseBase> DeleteKillRunningAqlQueryAsync(
string queryId,
DeleteKillRunningAqlQueryQuery query = null
)
Function DeleteKillRunningAqlQueryAsync (
queryId As String,
Optional query As DeleteKillRunningAqlQueryQuery = Nothing
) As Task(Of ResponseBase)
Task<ResponseBase^>^ DeleteKillRunningAqlQueryAsync(
String^ queryId,
DeleteKillRunningAqlQueryQuery^ query = nullptr
)
abstract DeleteKillRunningAqlQueryAsync :
queryId : string *
?query : DeleteKillRunningAqlQueryQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<ResponseBase>
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:
TaskResponseBaseRemarks
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