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

A way to have views return _deleted documents

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.3, 1.1
    • Fix Version/s: None
    • Component/s: JavaScript View Server
    • Labels:
      None
    • Skill Level:
      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

            • Assignee:
              Unassigned
              Reporter:
              jameshowe James Howe
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: