Created
November 16, 2016 13:34
-
-
Save anthony2025/32ea312a5a3f66d4e6ffd9f59b20ec8c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.set('toJSON', {transform : function (doc, ret) { | |
delete ret._id; | |
return ret; | |
}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment