UserSchema.methods.toJSON = function() { // some code .... }This method used to override the toJSON . what i need to understand : when and where the default toJSON method called before overriding ? or when this method will be executed ?
Submitted January 03, 2018 at 08:34PM by a7me6_azza8
No comments:
Post a Comment