pysqlite last_insert_id

Ng Pheng Siong ngps at netmemetic.com
Mon Aug 4 04:30:47 EDT 2003


According to Rick Pasotto  <rick at niof dot net>:
> How do I get the last_insert_id using pysqlite?

Where 'conn' is your connection object, invoke
conn.db.sqlite_last_insert_rowid().


-- 
Ng Pheng Siong <ngps at netmemetic.com> 

http://firewall.rulemaker.net  -+- Manage Your Firewall Rulebase Changes
http://www.post1.com/home/ngps -+- Open Source Python Crypto & SSL




More information about the Python-list mailing list