Docs Home → Develop Applications → MongoDB Manual
Remove a View
To remove a view, use the db.collection.drop()
method on the
view.
For example, this command drops a view named productView01
:
db.productView01.drop()
Docs Home → Develop Applications → MongoDB Manual
To remove a view, use the db.collection.drop()
method on the
view.
For example, this command drops a view named productView01
:
db.productView01.drop()