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.
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.