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

Cursor with Filter - like Delete Many #5070

Open
1 task done
msj121 opened this issue Jun 4, 2024 · 0 comments
Open
1 task done

Cursor with Filter - like Delete Many #5070

msj121 opened this issue Jun 4, 2024 · 0 comments

Comments

@msj121
Copy link

msj121 commented Jun 4, 2024

Describe your feature request

I need to add/synchronize data for searching, I need to check if the item exists, so I would like to cursor with a filter.

delete_many already does this (I assume). Because when I try to delete I get matches:

...
DeleteManyReturn(failed=0, matches=368056, objects=None, successful=10000)
DeleteManyReturn(failed=0, matches=358056, objects=None, successful=10000)
...

(btw it would be nice to be able to delete all without calling this function multiple times, but that is okay for me...)

Currently my workaround is to delete all data and then batch add it all again...

Code of Conduct

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

No branches or pull requests

1 participant