是否可以使用mongoose
创建以下架构{
"_id": ObjectId("542014e432315e917e7cc335"),
"displayName": "jimmy",
......
"stats": {
"2014-10": {
"documentsCount": NumberInt(1),
"usedStorage": NumberInt(100),
"usedBandwidth": NumberInt(250)
},
"2014-11": {
"documentsCount": NumberInt(1),
"usedStorage": NumberInt(500),
"usedBandwidth": NumberInt(150)
}
}
}