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

Doc/library/sqlite3.rst

index 84a478352feb6dce7d67f56fb4985de21dfd22be..1419ce0947ac2915553daa72e445cd92e64a0f68 100644 (file)
@@ -633,6 +633,11 @@ Cursor Objects
       method. For operations other than ``INSERT`` or when :meth:`executemany` is
       called, :attr:`lastrowid` is set to :const:`None`.
 
+   .. 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