-
Notifications
You must be signed in to change notification settings - Fork 19
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
How to version updates? #17
Comments
Hi @dialogik! It is necessary to use the |
Can I avoid performace reductions by using the |
To clarify my question: I now changed my code so that it follows the |
The performance reduction will occur according the number of records your query will affect when you use |
Great to know. Thank you for your explanation. |
I defined my model and added Version:
When I create a book, a version row is correctly inserted. But when modify the entity using
Book.update()
it doesn't create a new version row.The doc example uses instance attribute modification and persisting via
save()
. Since mentioned in #9 (comment), I assume thatupdate()
also works. Can you please specify how this can be implemented?The text was updated successfully, but these errors were encountered: