incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: Deleting Documents with attachments
Date Thu, 05 Sep 2013 10:07:38 GMT
q) If I delete a document with attachments using the DELETE
http verb I am guessing the actual document and attachments are deleted as
well?

a) yes

q) also will using the _deleted true preserve the attachments in
the database?

a) yes.


On 5 September 2013 11:04, Stanley Iriele <siriele2x3@gmail.com> wrote:
> Hello all,
>
> I am setting up a Service using attachments and I don't see it explicitly
> stated anywhere. If I delete a document with attachments using the DELETE
> http verb I am guessing the actual document and attachments are deleted as
> well?..or at least follow the "only the _id and _rev left"  model? Or am I
> mistaken?...also will using the _deleted true preserve the attachments in
> the database?.
>
> Regards,
>
> Stanley

Mime
View raw message