PyDocs

Nav

Data Persistence

Cursor.fetchall

sqlite3

method of Cursor
  • Cursor.fetchall()
Fetches all rows from the resultset.
1 Example
>>> res = cur.execute("SELECT score FROM movie")
>>> res.fetchall()
[(8.2,), (7.5,)]
from the Python docs
See Also
No see-alsos for sqlite3/Cursor.fetchall
0 Notes
No notes for Cursor.fetchall