🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

Milvus
Zilliz
< Docs
  • C#

DeleteAsync()()

Deletes rows from a collection by given expression.

Invocation

await collection.DeleteAsync(expression, partitionName = null, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
expressionA boolean expression determining which rows are to be deleted.stringTrue
partitionNameAn optional name of a partition from which rows are to be deleted.string?False
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

A MutationResult containing information about the drop operation.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?