Is it possible to somehow grab the previous doc and doc before it was saved in a mongoose post hook?
I need to do a compare between the 2 docs after save and send changes to another service but I don't want to do this is all the different points in the API but just in the 1 hook in mongoose :/
0 Replies