-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
feat: add on_update to the field #1273
base: master
Are you sure you want to change the base?
Conversation
CodSpeed Performance ReportMerging #1273 will degrade performances by 24.44%Comparing Summary
Benchmarks breakdown
|
for k, v in self_fields.items() | ||
if k in _columns or k in onupdate_fields | ||
} | ||
if not kwargs and not _columns: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If all are null here, the update is based on user-modified attributes on the instance, with user-modified attributes taking precedence over on_update.
This is a refinement of the #532.