cursor.fetchone()
Function
This method extracts the next row of the query result set and returns a tuple.
Prototype
cursor.fetchone()
Parameter
None
Return Value
A single tuple is the first result in the result set. If no more data is available, None is returned.
Example
For details, see Examples: Common Operations.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.