Click or drag to resize

CollectionApiClientTruncateCollectionAsync 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
public virtual Task<TruncateCollectionResponse> TruncateCollectionAsync(
	string collectionName
)

Parameters

collectionName
Type: SystemString

Return Value

Type: TaskTruncateCollectionResponse

Implements

ICollectionApiClientTruncateCollectionAsync(String)
See Also