couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "HTTP Document API" by DavidVanCouvering
Date Sun, 22 Mar 2009 14:37:06 GMT
Dear Wiki user,

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

The following page has been changed by DavidVanCouvering:
http://wiki.apache.org/couchdb/HTTP_Document_API

------------------------------------------------------------------------------
  
     * *non-atomic* (default) - some documents may successfully be saved and some may not.
 It is up to the application to check that all documents were successfully saved/updated.
  
-    * *all-or-nothing* - either all the documents will commit successfully or none will.
However, it does not do conflict checking, so the documents will be committed even if there
are conflicts.  If any documents have a conflict, then in the response that document will
show a conflict error, for example
+    * *all-or-nothing* - To use this mode, pass "all-or-nothing" set to true in the request
(e.g. ''/{dbname}/_bulk_docs?all-or-nothing=true)''.  In this case either all the documents
will commit successfully or none will. However, it does not do conflict checking, so the documents
will be committed even if there are conflicts.  If any documents have a conflict, then in
the response that document will show a conflict error, for example
  
  {{{
  {

Mime
View raw message