drop collection using mongodbstring code example Example: drop a collection in mongodb db.mycollection.drop()