GitHub user KlausTrainer opened a pull request:
https://github.com/apache/couchdb/pull/106
Add `include_attachments` boolean query parameter
This adds the boolean query parameter `include_attachments` for
`/{db}/_changes` and `/{db}/_design/{ddoc}/_view/{view}` queries.
If both `include_docs` and `include_attachments` equal `true`, the
Base64-encoded contents of attachments are included with the documents
in changes or view query results.
Closes COUCHDB-1923.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/KlausTrainer/couchdb 1923-include_attachments
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/106.patch
----
commit 5c5ba179d12868d6b02844decc5bd34fb86c8a21
Author: Klaus Trainer <[email protected]>
Date: 2013-11-15T16:02:20Z
Add `include_attachments` boolean query parameter
This adds the boolean query parameter `include_attachments` for
`/{db}/_changes` and `/{db}/_design/{ddoc}/_view/{view}` queries.
If both `include_docs` and `include_attachments` equal `true`, the
Base64-encoded contents of attachments are included with the documents
in changes or view query results.
Closes COUCHDB-1923.
----