Docs 菜单

删除视图

要删除视图,请对视图执行 db.collection.drop() 方法。

例如,此命令删除名为 productView01 的视图:

db.productView01.drop()