insert_id

Baptiste <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Hello,

I need to get back the id which sqlite has attributed (AUTOINCREMENT field)
to the last recording done.
TRAC mentions that feature :
http://www.initd.org/tracker/pysqlite/changeset/9 but when I use it, I have
the error 'pysqlite2.dbapi2.Connection' object has no attribute 'insert_id'
How can I do ? I'm using pysqlite 2.

Thanks for your help.
Baptiste.

_______________________________________________
pysqlite mailing list
pysqlite-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/pysqlite
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.