Skip to content

Commit bc67a3f

Browse files
Adjust documentation to indicate what cursor.rowcount returns for PL/SQL block
executions (#285).
1 parent 763cfea commit bc67a3f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/cursor.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,10 @@ Cursor Object
424424
.. attribute:: Cursor.rowcount
425425

426426
This read-only attribute specifies the number of rows that have currently
427-
been fetched from the cursor (for select statements) or that have been
428-
affected by the operation (for insert, update and delete statements).
427+
been fetched from the cursor (for select statements), that have been
428+
affected by the operation (for insert, update, delete and merge
429+
statements), or the number of successful executions of the statement
430+
(for PL/SQL statements).
429431

430432

431433
.. attribute:: Cursor.rowfactory

0 commit comments

Comments
 (0)