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
)
Public Overridable Function TruncateCollectionAsync (
collectionName As String
) As Task(Of TruncateCollectionResponse)
public:
virtual Task<TruncateCollectionResponse^>^ TruncateCollectionAsync(
String^ collectionName
)
abstract TruncateCollectionAsync :
collectionName : string -> Task<TruncateCollectionResponse>
override TruncateCollectionAsync :
collectionName : string -> Task<TruncateCollectionResponse>
Parameters
- collectionName
- Type: SystemString
Return Value
Type:
TaskTruncateCollectionResponseImplements
ICollectionApiClientTruncateCollectionAsync(String)See Also