I\'m using mongoose.js on a node.js server connecting to mongodb and I have a mongoose model like the following
SubSchema = new Schema({
_member: {type:
I had several nest layers deep of sub docs, and none of the supplied options worked for me. I found this amazing Mongoose plugin that will do deep population seamlessly. You just use the same syntax you would expect to work with populate, but it actually works.
https://github.com/buunguyen/mongoose-deep-populate