Processing the Result Set
- cursor.fetchone(): Fetches the next row in a query result set and returns a sequence. If no data is available, null is returned.
- cursor.fetchall(): Fetches all remaining rows in a query result and returns a list. An empty list is returned when no rows are available.
Feedback