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
you to try :
Post.find({_id: {$nin: [info._id]}, tags: {$in: info.tags}}).sort({_id:-1}) .populate('uid','nm') .populate('tags','nm') .limit(20).exec();