Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
891f1d33
Commit
891f1d33
authored
Aug 23, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #1573854: fix docs for sqlite3 cursor rowcount attr.
parent
8d9e8455
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/sqlite3.rst
Doc/library/sqlite3.rst
+3
-3
No files found.
Doc/library/sqlite3.rst
View file @
891f1d33
...
...
@@ -440,9 +440,6 @@ A :class:`Cursor` instance has the following attributes and methods:
attribute, the database engine's own support for the determination of "rows
affected"/"rows selected" is quirky.
For ``SELECT`` statements, :attr:`rowcount` is always None because we cannot
determine the number of rows a query produced until all rows were fetched.
For ``DELETE`` statements, SQLite reports :attr:`rowcount` as 0 if you make a
``DELETE FROM table`` without any condition.
...
...
@@ -453,6 +450,9 @@ A :class:`Cursor` instance has the following attributes and methods:
case no executeXX() has been performed on the cursor or the rowcount of the last
operation is not determinable by the interface".
This includes ``SELECT`` statements because we cannot determine the number of
rows a query produced until all rows were fetched.
.. _sqlite3-types:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment