couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes J. Schmidt (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1923) Allow ?attachments=true alongside ?include_docs=true on view
Date Fri, 22 Nov 2013 08:06:35 GMT


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:
>             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

View raw message