Clean versioning/change history implementation in Mongoose Clean versioning/change history implementation in Mongoose express express

Clean versioning/change history implementation in Mongoose


You might want to look at the Model.js source. There's two functions in the model prototype that should help you. _dirty() and _delta()