Override insert and save methods #565
Replies: 1 comment
-
This was converted into an issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there. Is there any way to override save and insert methods and replace these methods with my own customized version? (I saw this functionality in Mongoengine)
I know there is @before_event and @after_event decorator. but I actually want to customize the save method in such a way that, for example, wherever insert is called, link_rule has the specific value that I want.
Beta Was this translation helpful? Give feedback.
All reactions