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

Stricter insert/update/delete #866

Closed
mvorisek opened this issue Apr 28, 2021 · 0 comments · Fixed by #1044
Closed

Stricter insert/update/delete #866

mvorisek opened this issue Apr 28, 2021 · 0 comments · Fixed by #1044

Comments

@mvorisek
Copy link
Member

mvorisek commented Apr 28, 2021

All DB operations incl. update/insert/delete must honor all model conditions

when a record is saved (inserted/updated), it should be reselected to check if the model conditions still select such model (currently model is reloaded, but no rollback is done if the record cannot be loaded)

before any record is deleted, the record should be selected to test if the model conditions match

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant