What is the best way to drop a collection in MongoDB?
I am using the following:
db.collection.drop()
As described in the manual:
db.collection.drop()
Removes a collection from the database. The method also removes any indexes associated with the dropped collection. The method provides a wrapper around the drop command.
But how can I drop it from the command line?