The use of _columns
in update
.
#550
Unanswered
ponytailer
asked this question in
Q&A
Replies: 1 comment
-
Hi, Yes, this is exactly the reason you have Keeping a state for each field would have too big performance penalty and can be unreliable instance = Model(**old_instance.dict())
instance.update() # what is dirty here? pk is set (and exists in db) so update is a valid query |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example:
But:
Beta Was this translation helpful? Give feedback.
All reactions