From 883262da074e7f6daf9c2d41d4ffa5a689939710 Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Fri, 29 Mar 2019 10:41:46 -0600 Subject: [PATCH] Adjust documentation to indicate what cursor.rowcount returns for PL/SQL block executions (https://github.com/oracle/python-cx_Oracle/issues/285). --- doc/src/cursor.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/src/cursor.rst b/doc/src/cursor.rst index 5d7714d..f345740 100644 --- a/doc/src/cursor.rst +++ b/doc/src/cursor.rst @@ -424,8 +424,10 @@ Cursor Object .. attribute:: Cursor.rowcount This read-only attribute specifies the number of rows that have currently - been fetched from the cursor (for select statements) or that have been - affected by the operation (for insert, update and delete statements). + been fetched from the cursor (for select statements), that have been + affected by the operation (for insert, update, delete and merge + statements), or the number of successful executions of the statement + (for PL/SQL statements). .. attribute:: Cursor.rowfactory