I have this setup in my MongoDB
Items:
title: String comments: [] // of objectId\'s
Comments:
user: ObjectId() item: Ob
One more way (easier) to do this:
Item .find({}) .populate({ path: 'comments', populate: { path: 'user', model: 'users' } }) .exec(function(err, data){ if (err) return handleError(err); res.json(data); });