original_docstring: Returns all rows of a query result set
          
docstring: Returns all rows of a query result set
docstring_tokens: Returns all rows of a query result set
code: def fetchall(self):
          """Returns all rows of a query result set
          """
          if not self._have_unread_result():
              raise errors.InterfaceError(ERR_NO_RESULT_TO_FETCH)
          (rows, eof) = self._connection.get_rows()
          if self._nextrow[0]:
              rows.insert(0, self._nextrow[0])
  
          res = [self._row_to_python(row, self.description)
                 for row in rows]
  
          self._handle_eof(eof)
          rowcount = len(rows)
          if rowcount >= 0 and self._rowcount == -1:
              self._rowcount = 0
          self._rowcount += rowcount
          return res
code_tokens: def fetchall ( self ) : if not self . _have_unread_result ( ) : raise errors . InterfaceError ( ERR_NO_RESULT_TO_FETCH ) ( rows , eof ) = self . _connection . get_rows ( ) if self . _nextrow [ 0 ] : rows . insert ( 0 , self . _nextrow [ 0 ] ) res = [ self . _row_to_python ( row , self . description ) for row in rows ] self . _handle_eof ( eof ) rowcount = len ( rows ) if rowcount >= 0 and self . _rowcount == - 1 : self . _rowcount = 0 self . _rowcount += rowcount return res
short_docstring: Returns all rows of a query result set
short_docstring_tokens: Returns all rows of a query result set
comment: """Returns all rows of a query result set
          """