updateMany

db.tblDaily.updateMany(

{"Comments.ViewCount":0},

{$addToSet:{"Comments.$.CommentDate":new Date()}}

);

posted @ 2016-09-18 11:26  Andy·Li  阅读(583)  评论(0)    收藏  举报