Feature Request: updateIfDirty #57272
Unanswered
MichaelRushton
asked this question in
Ideas
Replies: 1 comment 2 replies
-
@MichaelRushton Do you happen to know if this behavior is intentional or just a side effect that was not foreseen? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The current
update
method dispatchessaving
andsaved
events even if the model is not dirty and no database update is performed. This may be undesired behaviour and so anupdateIfDirty
method that does not fire these events could be useful.As an example:
Beta Was this translation helpful? Give feedback.
All reactions