couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <nsla...@apache.org>
Subject Re: deleting a deleted document
Date Fri, 11 Jul 2008 16:01:05 GMT
On Fri, Jul 11, 2008 at 09:20:41AM -0600, Michael Hendricks wrote:
> Most database interface modules that I've worked with generate exceptions in
> such cases (even if the underlying database doesn't) as a way to help the
> programmer find his mistakes.

That is certainly not my experience.

> My other concern is that the CouchDB REST API doesn't accept double
> deletions.  It generates an error.  If CouchDB is going to give an error
> in one place, I think it should be consistent and do it elsewhere too.

Consistency is good.

> I can see some value in making this a configurable behavior if others
> don't want an error under this circumstance.  Of course, I probably
> won't send a patch for that since it's not my itch ;-)

-1

Configuration parameter proliferation is a Bad Thing.

-- 
Noah Slater, http://people.apache.org/~nslater/

Mime
View raw message