[ 
https://issues.apache.org/jira/browse/COUCHDB-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829778#comment-13829778
 ] 

Johannes J. Schmidt commented on COUCHDB-1923:
----------------------------------------------

`attachments=true` is fine.

I think its way better to explain "Use attachments=true to include attachments. 
On a view, you must also set include_docs=true to ask for the docs with the 
attachments." rather than "On a view you set include_attachments=true along 
with include_docs=true to get the attachments in one go whereas on a single 
document fetch you say attachments=true". 

I prefer less query parameter names with slightly different behaviour which 
explain themselves logically. Various names all have to be remembered.

> Allow ?attachments=true alongside ?include_docs=true on view
> ------------------------------------------------------------
>
>                 Key: COUCHDB-1923
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1923
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Nathan Vander Wilt
>
> I have a situation where it'd be handy to get inline [base64] attachments for 
> the documents from a view response (already using include_docs=true).
> I wonder if this is as easy a fix as COUCHDB-549 was?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to