drop a collection in mongodb server command line code example Example: drop a collection in mongodb db.mycollection.drop()