couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Bartell <snbart...@gmail.com>
Subject DELETE vs. _deleted:true
Date Mon, 01 Jul 2013 18:21:44 GMT
Quick question on deleting.

Are the following assumptions correct:

1. If i use the DELETE verb, a delete handler is invoked in which the following operations
will render the doc deleted:
	a) All data except `_id`, and `_rev` is stripped from the doc
	b) a field `_deleted` is set to true.

2. If I take a doc and create the `_deleted` field and set it to true myself, then the doc
is deleted; even though all data except _id and _rev are still present.

Thanks,
Mime
View raw message