对demo collection集合增长字段code
db.getCollection('demo').update({},{$set:{"field":true}},false,true)
对demo collection集合删除字段blog
db.getCollection('xxx').update({},{$unset:{"field":""}},false,true)