-
Notifications
You must be signed in to change notification settings - Fork 218
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
Timestamp Mixin for auto-populated created_at, updated_at #535
Comments
This stopped working recently |
The |
I'm using this
Overriding the save was because before_event save wasnt reliable |
Instead of Example: new_user = User(...) # Like invoking the constructor of the model class
new_user.insert()
new_user.fetch_all_links() # (optional) |
I modified what @roman-right did, added
|
Discussed in #514
Originally posted by slavovthinks March 25, 2023
Hey, folks 👋
Here is a Timestamp Mixin I've created for Beanie Documents. I'm wondering should I create a PR for it to be included as part of the project itself 🤔
The text was updated successfully, but these errors were encountered: