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

Add 'add_version_condition' arg #1177

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Add 'add_version_condition' arg #1177

merged 1 commit into from
Apr 26, 2023

Conversation

ikonst
Copy link
Contributor

@ikonst ikonst commented Apr 21, 2023

Add a flag for controlling whether Model.save, Model.update and Model.delete add a condition that the persisted version is the same as the in-memory one, defaulting to True (the "safe" behavior)

This is a backport to 5.x.

Add a flag for controlling whether `Model.save`, `Model.update` and `Model.delete` add a condition that the persisted version is the same as the in-memory one, defaulting to `True` (the "safe" behavior)
@ikonst
Copy link
Contributor Author

ikonst commented Apr 21, 2023

@garrettheel since it's additive see no reason not to merge into 5.x?

@ikonst ikonst merged commit b25a88e into 5.x Apr 26, 2023
@ikonst ikonst deleted the 5.x-add_version_condition branch April 26, 2023 00:00
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.

2 participants