Nathan Vander Wilt created COUCHDB-1850:
-------------------------------------------
Summary: Documentation missing view emit _id/_rev tricks for
?include_docs=true details
Key: COUCHDB-1850
URL: https://issues.apache.org/jira/browse/COUCHDB-1850
Project: CouchDB
Issue Type: Bug
Components: Documentation
Reporter: Nathan Vander Wilt
Both the wiki and the official documentation are missing the indirect "join"
fetch possible via include_docs when the view emits *another* doc's _id e.g.
http://stackoverflow.com/a/6059447/179583,
http://stackoverflow.com/a/3035522/179583,
http://stackoverflow.com/a/2683228/179583 — apparently this was only in the
release notes and/or on the Couchbase blog at one time.
Also the official documentation is missing a complete explanation of this note
in the wiki:
"If you want to alleviate [stale view vs database inconsistency] concerns you
should emit an object with a _rev attribute as in emit(key, {"_rev":
doc._rev})." — http://wiki.apache.org/couchdb/HTTP_view_API#Querying_Options
Will this cause the old rev to be fetched? What if it's no longer available?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira