Automatic CreatedAt and UpdatedAt timestamps #516
Answered
by
roman-right
yousafsabir
asked this question in
Question
-
Is there a way that beanie handles timestamp fields automatically and you don't have to set them manually? there is a mixin by Radostin that adds timestamps to your beanie Document: #514 but there should be one line configuration in the Settings class inside Document. |
Beta Was this translation helpful? Give feedback.
Answered by
roman-right
Apr 13, 2023
Replies: 1 comment 2 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
yousafsabir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
In a month or two I plan to add mixins with different methods implemented for the most common cases. I'll add this one there