{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5725","repository_url":"https://api.github.com/repos/pouchdb/pouchdb","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5725/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5725/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5725/events","html_url":"https://github.com/pouchdb/pouchdb/issues/5725","id":179628823,"number":5725,"title":"Enhancement Request: Trying to \"mirror changes in a non-Pouch structure\" is just ugly )-:","user":{"login":"hepiyellow","id":6338722,"avatar_url":"https://avatars.githubusercontent.com/u/6338722?v=3","gravatar_id":"","url":"https://api.github.com/users/hepiyellow","html_url":"https://github.com/hepiyellow","followers_url":"https://api.github.com/users/hepiyellow/followers","following_url":"https://api.github.com/users/hepiyellow/following{/other_user}","gists_url":"https://api.github.com/users/hepiyellow/gists{/gist_id}","starred_url":"https://api.github.com/users/hepiyellow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hepiyellow/subscriptions","organizations_url":"https://api.github.com/users/hepiyellow/orgs","repos_url":"https://api.github.com/users/hepiyellow/repos","events_url":"https://api.github.com/users/hepiyellow/events{/privacy}","received_events_url":"https://api.github.com/users/hepiyellow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pouchdb/pouchdb/labels/enhancement","name":"enhancement","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-27T22:12:39Z","updated_at":"2016-10-24T02:17:04Z","closed_at":"2016-10-24T02:17:04Z","body":"Hi,\r\n\r\nI quoted in the title from [changes documentation](https://pouchdb.com/guides/changes.html),\r\nand just wanted to add that when a document is deleted then the document is not included (when include_docs is true), this makes it even harder to do such mirroring.\r\nIt forces me to store the document IDs in my non-Pouch structure so I can figure out which document was deleted.\r\n\r\nWhen using multiple types of documents, I don't really use the couchDB document ID as my identifier (in the non-Pouch mirror). I use another document field as a key (and a field for the type)\r\n\r\n**Why is the document not included? can it be changed?**\r\n\r\nAbout not being able to distinguish from a new document and a modified one, that's not such a big problem because I can check if it exists by the key."},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/255633864","html_url":"https://github.com/pouchdb/pouchdb/issues/5725#issuecomment-255633864","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5725","id":255633864,"user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T02:17:04Z","updated_at":"2016-10-24T02:17:04Z","body":"Closing, please reopen as necessary. Seems to me that this is not a bug but rather just how CouchDB works though, although I could be mistaken"}}
{"actor":{"display_login":"nolanlawson"}}