Reputation: 219
Can I delete all documents by one partition in one collection in Cosmos db by one query?
In my cosmos db database I have more then 100 thousand notifications because of bug in my code. Now I fix bug and need delete this notifications. I try to find solution how to delete this in the best way. Could you help me?
Upvotes: 0
Views: 491
Reputation: 733
You need to write code or use a third party tool like Cerebrata which can delete all documents based on a query.
Disclaimer: I do not work for Cerebrata nor do I get paid for recommending them I am simply a happy user of their product.
Upvotes: 1