We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abfe6a commit 7470321Copy full SHA for 7470321
Doc/library/sqlite3.rst
@@ -1694,7 +1694,10 @@ Cursor objects
1694
``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements;
1695
is ``-1`` for other statements,
1696
including :abbr:`CTE (Common Table Expression)` queries.
1697
- It is only updated by the :meth:`execute` and :meth:`executemany` methods.
+ It is only updated by the :meth:`execute` and :meth:`executemany` methods,
1698
+ after the statement has run to completion.
1699
+ This means that any resulting rows must be fetched in order for
1700
+ :attr:`!rowcount` to be updated.
1701
1702
.. attribute:: row_factory
1703
0 commit comments