Re: Primary Key Violation Checking
Rich Shepard <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 29 Oct 2007, Adrian Klaver wrote: > No that is not necessary. I was just trying to figure out what was > happening. Me, too, Adrian. > As to your original question, I think you are going to have to write your > own wrap code for the statements. You already have the data you are trying > to INSERT/UPDATE. In the case of an IntegrityError you would need to run a > query to collect the info from the database for the affected record. OK. I won't be re-inventing the wheel, then. Thanks, Rich -- Richard B. Shepard, Ph.D. | The Environmental Permitting Applied Ecosystem Services, Inc. | Accelerators(TM) <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863