incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <d...@muse.net.nz>
Subject Re: include_docs with emitted _id if the document is deleted?
Date Tue, 08 Nov 2011 01:07:35 GMT
On 7 November 2011 17:19, Albin Stigö <albin.stigo@gmail.com> wrote:
> Hi,
>
> If you use the "trick" where you emit an objects with _id: xxx to
> include a different "linked" doc in your view.
>
> What happens if the document linked to is deleted?
>
> --Albin
>

Hey Albin

Then the JSON object containing the doc is missing from ?include_docs
response. IIRC you should not get an error code response back though;
you should probably try this to confirm.

A+
Dave

Mime
View raw message