Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1252

A way to have views return _deleted documents

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.3, 1.1
    • None
    • JavaScript View Server
    • None
    • New Contributors Level (Easy)

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jameshowe James Howe
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: