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 PeterMonks
Date Wed, 18 Feb 2009 23:47:41 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 PeterMonks:
http://wiki.apache.org/couchdb/HTTP_Document_API

------------------------------------------------------------------------------
  
  === Modify Multiple Documents With a Single Request ===
  
- CouchDB provides a bulk insert/update feature. To use this, you make a ''POST'' request
to the URI ''/{dbname}/_bulk_docs'', with the request body being a JSON document containing
a list of new documents to be inserted or updated. The bulk post is a transactional operation
- all updates/insertions succeed, or all fail. 
+ CouchDB provides a bulk insert/update feature. To use this, you make a ''POST'' request
to the URI ''/{dbname}/_bulk_docs'', with the request body being a JSON document containing
a list of new documents to be inserted or updated. The bulk post is currently (0.8.0) a transactional
operation - all updates/insertions succeed, or all fail - but that behaviour may change in
future (see http://n2.nabble.com/couchdb-transactions-changes-td2289541.html for more information).
  
  Doc formats below are as per CouchDB 0.8.0.
  

Mime
View raw message