Mongodb查询和更新操作
数据库 •
查询
db.getCollection('应收账款').find({ "investorId" : "9256090", "projectId" : "9202051" })
更新所有找到匹配的数据
db.getCollection('应收账款').update({ "investorId" : "9256090", "projectId" : "9202051" }, {$set:{"rowNumber":null}}, {multi: true})