ArangoDB-Community / pyArango

Python Driver for ArangoDB with built-in validation
https://pyarango.readthedocs.io/en/latest/
Apache License 2.0
238 stars 90 forks source link

Batch Delete option in PyArango #207

Open thearghyadutta opened 3 years ago

thearghyadutta commented 3 years ago

Hi Just like there is batch insert option in the form of bulkSave, is there something similar to batch delete a set of documents?

Fetching a document individually and then deleting them is time consuming, specially when we talk of a scaled up database where I need to delete set of say 5-10k documents at once.

Using AQL query instead of doc.delete() does speed up the operation, but the moment you put some sort of filter, it's back to being slow again.