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

Efficient method of updating multiple records #56

Open
malikoth opened this issue Dec 10, 2019 · 0 comments
Open

Efficient method of updating multiple records #56

malikoth opened this issue Dec 10, 2019 · 0 comments

Comments

@malikoth
Copy link

There needs to be an efficient way to modify all records matching a QuerySet.

I would imagine this would best be implemented as an update method on the QuerySet, that combines the QuerySet's filter_clauses with a set_clause to issue an UPDATE statement.

It would also be useful to have something like Django's bulk_update for a way to efficiently perform more targeted updates, though I have less of a concept of either how Django does it, or how I think it should be done here. I think this is lower priority than just getting update implemented in the first place.

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