mongodb fine and remove code example Example 1: delete collection mongodb db.collection.drop() Example 2: mango to delete a collection db.CollectionName.drop()