I\'m getting returned a JSON value from MongoDB after I run my query. The problem is I do not want to return all the JSON associated with my return, I tried searching the docs a
Just to complement the answers above, if you want to include everything but only exclude certain attributes, you can do the following:
.populate('users', {password: 0, preferences: 0})