SyntaxFix
Write A Post
Hire A Developer
Questions
Mongoose Models inherit from Documents, which have a toObject() method. I believe what you're looking for should be the result of doc.toObject().
Model
Document
toObject()
doc.toObject()
http://mongoosejs.com/docs/api.html#document_Document-toObject