This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Undocumented lastrowid attribute i sqlite3 cursor class
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ghaering Nosy List: bukaj, georg.brandl, ghaering, pavel.vinogradov
Priority: high Keywords: patch

Created on 2008-02-24 14:04 by bukaj, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
lastrowid_rst_desctiption.diff pavel.vinogradov, 2008-03-02 09:56 Brief description of lastrowid attribute
Messages (4)
msg62906 - (view) Author: Jakub Fedyczak (bukaj) Date: 2008-02-24 14:13
con = sqlite3.connect("file")
c = con.cursor()
c.execute("INSERT INTO .....")
last_id = c.lastrowid <--- nothing about it in the docs
msg63178 - (view) Author: Pavel Vinogradov (pavel.vinogradov) * Date: 2008-03-02 09:56
This patch include brief lastrowid description based on my experience and 
Python DB API 2.0 PEP.
msg64718 - (view) Author: Gerhard Häring (ghaering) * (Python committer) Date: 2008-03-29 19:12
The lastrowid attribute is now documented in r62044. Thanks for bringing
this up.
msg64745 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-03-30 08:36
Gerhard: Note that you don't need to commit identical changes to the
trunk and 3k branches -- the merging process will take care of this.
History
Date User Action Args
2022-04-11 14:56:31adminsetgithub: 46429
2008-03-30 08:36:41georg.brandlsetmessages: + msg64745
2008-03-29 19:12:55ghaeringsetstatus: open -> closed
resolution: fixed
messages: + msg64718
2008-03-29 18:53:50ghaeringsetassignee: georg.brandl -> ghaering
nosy: + ghaering
2008-03-29 01:55:38georg.brandlsetpriority: high
2008-03-17 07:45:45georg.brandlsetassignee: georg.brandl
nosy: + georg.brandl
2008-03-02 09:56:24pavel.vinogradovsetfiles: + lastrowid_rst_desctiption.diff
keywords: + patch
messages: + msg63178
nosy: + pavel.vinogradov
2008-02-24 14:13:27bukajsetmessages: + msg62906
2008-02-24 14:04:32bukajcreate