You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2012/03/02 16:19:03 UTC

[Couchdb Wiki] Update of "HTTP_Document_API" by AndreyNiakhaichyk

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "HTTP_Document_API" page has been changed by AndreyNiakhaichyk:
http://wiki.apache.org/couchdb/HTTP_Document_API?action=diff&rev1=89&rev2=90

Comment:
Add side effect of DELETE operation

  
  {"ok":true,"rev":"2839830636"}
  }}}
+ 
+ Note: When you delete a document the database will create new revision of it which contains _id, _rev, _deleted fields. This revision will be stayed even after a [[Compaction#Database_Compaction|database compaction]]. The reason of it to ensure that deletion of document will be replicated to other databases. Such documents will affect on views calculation time and even on simple PUT and DELETE requests time. See [[Performance|Performance page]] for details.
+ 
  === COPY ===
  Note that this is a non-standard extension to HTTP.