代码改变世界

pymongo

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

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

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