Mongodb新增、删除字段,修改字段类型

场景1:已经有一个collection,需要新增两个字段、删除一个字段。新增两个字段:db.temps.updateMany({},{$set:{isFree:false, sequence:1}}) 删除一个字段:db.temps....