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

fix: Changes collection #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tadaz
Copy link
Contributor

@Tadaz Tadaz commented Aug 22, 2024

This commit fixes an issue that occurs whilst gathering changes to save. Previously any "insert" change would be converted to an "update" because there was no values comparison. So if you have 10 000 settings in your DB and if you try to update only one setting - all of them would be updated over again, firing 10 000 DB requests as well. This change will collect only necessary changes excluding any unchanged values.

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 this pull request may close these issues.

1 participant