milvus-logo
LFAI
< 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.