Name

fetchone

Synopsis

                        c.fetchone( )

Returns the next result row from the last query as a tuple. Raises an exception if the last operation was not a SELECT query.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.