def destroy(self): query = Query() self.table.remove(eids=[self.table.search(query.label == self.label)[0].eid])