PyDocs

Nav

Data Persistence

Cursor.fetchone

sqlite3

method of Cursor
  • Cursor.fetchone()
Fetches one row from the resultset.
1 Example
>>> res = cur.execute("SELECT name FROM sqlite_master")
>>> res.fetchone()
('movie',)
from the Python docs
See Also
No see-alsos for sqlite3/Cursor.fetchone
0 Notes
No notes for Cursor.fetchone