要移除视图,请使用db.collection.drop() 方法在视图上。
db.collection.drop()
例如,此命令删除名为 productView01 的视图
productView01
db.productView01.drop()
返回
修改
下一步
支持的操作