Replies: 1 comment
-
There was a similar issue reported a while back #3608. We had only verified that it behaved similarly to PouchDB |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For reference please see: matteobortolazzo/couchdb-net#154
In summary, if I use Thunder Client/Postman and pass a deleted document id such as below to the _bulk_get CouchDB endpoint:
I get the following result:
The documentation for this function, doesn't mention the _deleted flag, so it's not clear whether this is expected behaviour or a bug:
https://docs.couchdb.org/en/stable/api/database/bulk-api.html?highlight=_bulk_get#db-bulk-get
The best information I can find on the _deleted flag is below and in regard to the GET /{db}/{docid} endpoint
https://docs.couchdb.org/en/stable/api/document/common.html#get--db-docid
https://docs.couchdb.org/en/stable/api/document/common.html#retrieving-deleted-documents
And this seems to suggest that to retrieve a deleted document you need to provide the rev as well?
Clarification on how the _bulk_get endpoint is suppose to work would be most welcome.
Many thanks
Neil
Beta Was this translation helpful? Give feedback.
All reactions