ICollectionApiClientTruncateCollectionAsync Method |
Truncates a collection, i.e. removes all documents in the collection.
PUT/_api/collection/{collection-name}/truncate
Namespace:
ArangoDBNetStandard.CollectionApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<TruncateCollectionResponse> TruncateCollectionAsync(
string collectionName
)
Function TruncateCollectionAsync (
collectionName As String
) As Task(Of TruncateCollectionResponse)
Task<TruncateCollectionResponse^>^ TruncateCollectionAsync(
String^ collectionName
)
abstract TruncateCollectionAsync :
collectionName : string -> Task<TruncateCollectionResponse>
Parameters
- collectionName
- Type: SystemString
Return Value
Type:
TaskTruncateCollectionResponseSee Also