nested array mongoose code example
Example: mongoose nested object without id
var subSchema = mongoose.Schema({
//your subschema content
},{ _id : false });
var subSchema = mongoose.Schema({
//your subschema content
},{ _id : false });