PyDocs

Nav

Data Persistence

Cursor.rowcount

sqlite3

attribute of Cursor
Read-only attribute that provides the number of modified rows for INSERT, UPDATE, DELETE, and REPLACE statements; is -1 for other statements, including CTE queries. It is only updated by the execute() and executemany() methods, after the statement has run to completion. This means that any resulting rows must be fetched in order for rowcount to be updated.
0 Examples
No examples for sqlite3/Cursor.rowcount.
See Also
No see-alsos for sqlite3/Cursor.rowcount
0 Notes
No notes for Cursor.rowcount