updateMany

db.tblDaily.updateMany(

{"Comments.ViewCount":0},

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

);

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