MySQL Connector/Python Developer Guide / ... / Connector/Python API Reference / connection.MySQLConnection Class / MySQLConnection.get_row() Method
This method retrieves the next row of a query result set, returning a tuple.
The tuple returned byget_row() consists of:
The row as a tuple containing byte objects, or
Nonewhen no more rows are available.EOF packet information as a dictionary containing
status_flagandwarning_count, orNonewhen the row returned is not the last row.
Theget_row() method is used byMySQLCursor to fetch rows.