couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1252) A way to have views return _deleted documents
Date Wed, 17 Aug 2011 15:40:27 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086395#comment-13086395
] 

Paul Joseph Davis commented on COUCHDB-1252:
--------------------------------------------

We could fairly easily add a include_deleted option to the view options parameter the same
we do for include_design.

> A way to have views return _deleted documents
> ---------------------------------------------
>
>                 Key: COUCHDB-1252
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1252
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: JavaScript View Server
>    Affects Versions: 1.1, 1.0.3
>            Reporter: James Howe
>
> Given that documents can be 'soft' deleted / deleted with auditing data by updating the
document to include the _deleted property, it would be incredibly useful if there were a way
to access these documents in a map function. Otherwise it is very difficult to find the auditing
data - even more so if the original ids are unknown.
> I was thinking along the lines of a view query parameter 'include_deleted', but don't
really mind how this is implemented, as long as it is there.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message