IDocumentApiClientDeleteDocumentsAsync Method (String, IListString, DeleteDocumentsQuery, DocumentHeaderProperties) |
Delete multiple documents based on the passed document selectors.
A document selector is either the document ID or the document Key.
Namespace:
ArangoDBNetStandard.DocumentApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<DeleteDocumentsResponse<Object>> DeleteDocumentsAsync(
string collectionName,
IList<string> selectors,
DeleteDocumentsQuery query = null,
DocumentHeaderProperties headers = null
)
Function DeleteDocumentsAsync (
collectionName As String,
selectors As IList(Of String),
Optional query As DeleteDocumentsQuery = Nothing,
Optional headers As DocumentHeaderProperties = Nothing
) As Task(Of DeleteDocumentsResponse(Of Object))
Task<DeleteDocumentsResponse<Object^>^>^ DeleteDocumentsAsync(
String^ collectionName,
IList<String^>^ selectors,
DeleteDocumentsQuery^ query = nullptr,
DocumentHeaderProperties^ headers = nullptr
)
abstract DeleteDocumentsAsync :
collectionName : string *
selectors : IList<string> *
?query : DeleteDocumentsQuery *
?headers : DocumentHeaderProperties
(* Defaults:
let _query = defaultArg query null
let _headers = defaultArg headers null
*)
-> Task<DeleteDocumentsResponse<Object>>
Parameters
- collectionName
- Type: SystemString
- selectors
- Type: System.Collections.GenericIListString
- query (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDeleteDocumentsQuery
- headers (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDocumentHeaderProperties
The DocumentHeaderProperties values.
Return Value
Type:
TaskDeleteDocumentsResponseObjectRemarks
This method overload is provided as a convenience when the client does not care about the type of
Old
in the returned
DeleteDocumentsResponseT. These will be
null when
ReturnOld is either
false or not set, so this overload is useful in the default case
when deleting documents.
See Also