6 阻止猫鼬为子文档数组项创建_id属性 如果您有子文档数组,Mongoose会自动为每个数组创建ID。例: { _id: "mainId" subDocArray: [ { _id: "unwantedId", field: "value" }, { _id: "unwantedId", field: "value" } ] } 有没有办法告诉猫鼬不要为数组内的对象创建ID? 227 node.js mongodb mongoose subdocument