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

target specific field when updating collections #42

Closed
EricOuma opened this issue Nov 17, 2023 · 0 comments · Fixed by #46
Closed

target specific field when updating collections #42

EricOuma opened this issue Nov 17, 2023 · 0 comments · Fixed by #46
Assignees

Comments

@EricOuma
Copy link
Contributor

PROBLEM
collection.update() creates the whole data dictionary for objects even for field that have not changed. This is time and resource intensive e.g when only one field has been updated

SOLUTION
Allow specification of the fields to be updated. Should have the same API as https://docs.djangoproject.com/en/4.2/ref/models/instances/#specifying-which-fields-to-save

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

Successfully merging a pull request may close this issue.

1 participant