Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch Delete option in PyArango #207

Open
thearghyadutta opened this issue Jun 22, 2021 · 0 comments
Open

Batch Delete option in PyArango #207

thearghyadutta opened this issue Jun 22, 2021 · 0 comments

Comments

@thearghyadutta
Copy link

thearghyadutta commented Jun 22, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant