Created
January 7, 2019 11:44
-
-
Save pablocattaneo/10f0e4be0c96ac13e65820a6aba6f883 to your computer and use it in GitHub Desktop.
How to delete a collection in mongoDb? #mongoDb #mongoShell
Source: https://docs.mongodb.com/manual/reference/method/db.collection.drop/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.collectionName.drop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment