code: def fetchall(self):
          
          result = r = self.fetchmany(size=self.FETCHALL_BLOCKSIZE)
          while len(r) == self.FETCHALL_BLOCKSIZE or not self._received_last_resultset_part:
              r = self.fetchmany(size=self.FETCHALL_BLOCKSIZE)
              result.extend(r)
          return result
docs: Fetch all available rows from select result set.
          :returns: list of row tuples