mongodb 如何更新comments中指定_id的replys數(shù)組(添加和刪除)?{ "_id" : ObjectId("595111698cce5d034f60ae79"), "title" : "Flower ribbon H skirt", "desc" : "???? ???? ??? ??? ???\n\n??? ? ??? ??? ????\n??? ???? ?? ??\n66????? ??? ???????\n", "createTime" : "Mon Jun 26 2017 21:51:37 GMT+0800 (CST)", "comments" : [ { "_id" : ObjectId("5959f338c465d90f75d8544d"), "comment" : "qeqweqwe", "replys" : [ ], "createTime" : ISODate("2017-07-03T07:33:12.072Z") }, { "_id" : ObjectId("5959f756034ffb103ea3bf41"), "comment" : "qweqweq", "replys" : [ ], "createTime" : ISODate("2017-07-03T07:50:46.642Z") } ]}
mongodb 數(shù)據(jù)更新疑問?
三國紛爭
2018-11-13 13:18:59