Skip to content

Commit 151f352

Browse files
Corrected documentation.
1 parent afbf5a1 commit 151f352

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/src/api_manual/async_cursor.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,10 @@ AsyncCursor Attributes
464464
.. attribute:: AsyncCursor.rowcount
465465

466466
This read-only attribute specifies the number of rows that have currently
467-
been fetched from the cursor (for select statements), that have been
467+
been fetched from the cursor (for select statements) or that have been
468468
affected by the operation (for insert, update, delete and merge
469-
statements), or the number of successful executions of the statement
470-
(for PL/SQL statements).
469+
statements). For all other statements the value is always zero. If the
470+
cursor or connection is closed, the value returned is -1.
471471

472472
.. attribute:: AsyncCursor.rowfactory
473473

doc/src/api_manual/cursor.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,10 +578,10 @@ Cursor Attributes
578578
.. attribute:: Cursor.rowcount
579579

580580
This read-only attribute specifies the number of rows that have currently
581-
been fetched from the cursor (for select statements), that have been
581+
been fetched from the cursor (for select statements) or that have been
582582
affected by the operation (for insert, update, delete and merge
583-
statements), or the number of successful executions of the statement
584-
(for PL/SQL statements).
583+
statements). For all other statements the value is always zero. If the
584+
cursor or connection is closed, the value returned is -1.
585585

586586
.. attribute:: Cursor.rowfactory
587587

0 commit comments

Comments
 (0)