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 846a23d commit 7055088Copy full SHA for 7055088
Doc/library/sqlite3.rst
@@ -1516,7 +1516,10 @@ Cursor objects
1516
``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements;
1517
is ``-1`` for other statements,
1518
including :abbr:`CTE (Common Table Expression)` queries.
1519
- It is only updated by the :meth:`execute` and :meth:`executemany` methods.
+ It is only updated by the :meth:`execute` and :meth:`executemany` methods,
1520
+ after the statement has run to completion.
1521
+ This means that any resulting rows must be fetched in order for
1522
+ :attr:`!rowcount` to be updated.
1523
1524
.. attribute:: row_factory
1525
0 commit comments