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
[BUG]before_event bug #902
Labels
Comments
its because in update it only update with args from the query itself but the action event doesnt it it |
Hi @CAPITAINMARVEL , |
This issue is stale because it has been open 30 days with no activity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
class Sample(Document):
num: int
name: str
version: int = 0
doc = await Sample.find_one()
await doc.inc({Sample.num: 1})
i looked in database num increase so its clearly updated
but the versioning is never changing
The text was updated successfully, but these errors were encountered: