Re: Exceptions on delete in pysqlite

2008-01-27 Thread Wildemar Wildenburger
Gabriel Genellina wrote: > En Fri, 25 Jan 2008 22:12:57 -0200, Wildemar Wildenburger > <[EMAIL PROTECTED]> escribi�: > >> Using pysqlite, I'd like to check if some dataset that I removed has >> been in the database at all. Ideally I'd like pysqlite to raise an >> Exception if deleting does nothin

Re: Exceptions on delete in pysqlite

2008-01-27 Thread Gabriel Genellina
En Fri, 25 Jan 2008 22:12:57 -0200, Wildemar Wildenburger <[EMAIL PROTECTED]> escribi�: > Using pysqlite, I'd like to check if some dataset that I removed has > been in the database at all. Ideally I'd like pysqlite to raise an > Exception if deleting does nothing. Is that possible? I don't thi

Exceptions on delete in pysqlite

2008-01-25 Thread Wildemar Wildenburger
Hi there, Using pysqlite, I'd like to check if some dataset that I removed has been in the database at all. Ideally I'd like pysqlite to raise an Exception if deleting does nothing. Is that possible? Codewise, I'd like the following, but without me checking for and raising the exception myself