1,批量更新
db.getCollection('表').update({"对象名.字段名":1},{$set:{"对象名.字段名":值}},false,true)
2,查找内嵌对象符合某字段的所有记录
db.getCollection('表').find({"对象名.字段名":值})
1,批量更新
db.getCollection('表').update({"对象名.字段名":1},{$set:{"对象名.字段名":值}},false,true)
2,查找内嵌对象符合某字段的所有记录
db.getCollection('表').find({"对象名.字段名":值})