how to clear recent query from mongodb code example Example: delete collection mongodb db.collection.drop()