def fetchall(self):
        """
        Fetch all (remaining) rows of a query result, returning them as a
        sequence of sequences (e.g. a list of tuples). Note that the cursor's
        arraysize attribute can affect the performance of this operation.
        """
        result = []
        iterate = True
        while iterate:
            try:
                result.append(self.next())
            except __HOLE__:
                iterate = False
        return result
dataset/ETHPy150Open crate/crate-python/src/crate/client/cursor.py/Cursor.fetchall