代码改变世界

pymongo

2014-02-27 10:42  briller  阅读(144)  评论(0编辑  收藏  举报

collectoin.updata({},{"$set":{}},multi=True)

默认multi为False,只更新match 的第一条数据