Best Coding Practices
Rich Shepard <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
I understand that sqlite3 runs actions under implicit transactions if a
transaction is not explicitly declared. So, is it good coding practice to
issue 'self.con.commit' after each 'self.cur.execute("insert into ...);"',
or is that not necessary for a disk-hosted database file?
Rich
--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc.(TM) | Accelerator
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863