incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Davis" <paul.joseph.da...@gmail.com>
Subject Re: atomic update of several documents
Date Tue, 16 Dec 2008 20:34:53 GMT
Yeah, _bulk_docs which the python lib is using is atomic. All writes
succeed or fail.

On Tue, Dec 16, 2008 at 3:26 PM, Dusty Leary <dleary@gmail.com> wrote:
> I am writing an app in python.
> The python couchdb lib defines a function db.update(documents), with
> the comment "Perform a bulk update or insertion of the given documents
> using a single HTTP request."
>
> I know a single document update fails if my revision is old.
>
> My question is, does a batch update fail for all documents if it fails for one?
>
> -Dusty
>

Mime
View raw message