Yes, the system provides that guarantee. Some versions of CouchDB transfers the 
attachments in separate requests, but when the doc is in the target's _changes 
you can be assured that all of its attachments have made the trip.  Cheers,

Adam

On Aug 3, 2013, at 5:36 PM, Nick North <[email protected]> wrote:

> If I create a document with attachments in a single HTTP call, either
> inline or in MIME format, does it all replicate as a single unit, or do the
> attachments replicate separately? I'd like to know that, if the document
> turns up in the changes field of a replica, then both the document and the
> attachments can be requested immediately. Thanks for your help,
> 
> Nick North

Reply via email to