]> granicus.if.org Git - python/commitdiff
bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947) (#985)
authorSenthil Kumaran <skumaran@gatech.edu>
Tue, 4 Apr 2017 05:27:15 +0000 (22:27 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Apr 2017 05:27:15 +0000 (22:27 -0700)
(cherry picked from commit 02e12138000da834f23719521a011fa93763384d)

Doc/library/sqlite3.rst

index d1f7a6f120620bc7ca4aa9e1a6097dc7ba9e1353..9fef7d7f03f1f00d7761bd6f01e241d8207b9454 100644 (file)
@@ -640,6 +640,11 @@ Cursor Objects
       .. versionchanged:: 3.6
          Added support for the ``REPLACE`` statement.
 
+   .. attribute:: arraysize
+
+      Read/write attribute that controls the number of rows returned by :meth:`fetchmany`.
+      The default value is 1 which means a single row would be fetched per call.
+
    .. attribute:: description
 
       This read-only attribute provides the column names of the last query. To