drop mongo collection from shell scrip code example Example: drop a collection in mongodb db.mycollection.drop()