RedisJsonVectorStoreRecordCollection<TRecord>.DeleteBatchAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes a batch of records from the vector store. Does not guarantee that the collection exists.
public virtual System.Threading.Tasks.Task DeleteBatchAsync(System.Collections.Generic.IEnumerable<string> keys, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteBatchAsync : seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteBatchAsync : seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DeleteBatchAsync (keys As IEnumerable(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- keys
- IEnumerable<String>
- cancellationToken
- CancellationToken