odmantic icon indicating copy to clipboard operation
odmantic copied to clipboard

Delete multiple documents

Open ChronoDK opened this issue 3 years ago • 0 comments

Feature request

Context

I would like to delete several documents, matching a specific query. In my instance log entries that are older than a specific date.

Solution

Add a delete_many() method, taking a query similar to find().

ChronoDK avatar Mar 21 '21 08:03 ChronoDK