Closed zaalion closed 5 years ago
The latest package (1.4.0) has changed the parameters of BulkDeleteAsync to be a List<Tuple<string, string>> of PartitionKey and ID (PartitionKey is first and ID of the document is second) and an optional integer of batch delete size. Providing it with a list of tuples should now be pretty straightforward.
Note that this definition is now only on BulkExecutor; it has been mysteriously removed from IBulkExecutor.
We recently noticed a bug in the query overload for BulkDelete, because of which it was removed in the latest version(s).
Currently, out BulkDelete only supports <Partition key, id> tuples as input.
However, we are working on a fix for the query overload as well and will add a sample as soon as the fix is released.
Updated the sample for .NET with BulkDelete here - https://github.com/Azure/azure-cosmosdb-bulkexecutor-dotnet-getting-started
Hi,
Do you have any sample for bulkExecuter.BulkDeleteAsync?
Thanks, Reza