编辑:这确实有效作为Mongoose-Subdocs:"Addingsubdocs"文档说,我们可以使用push方法添加子文档(即parent.children.push({name:'Liesl'});)但我想更进一步,想使用$push运算符来插入子文档。我有两个模式:ThingSchema:varThingSchema=mongoose.Schema({name:{type:String,required:true},description:{type:String}});和BoxSchema,主文档包含ThingSchema的子文档(things)数组:varBoxSchema=