You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In CouchDB 2.3, /_bulk_get has multipart/mixed support, to download attachments. Adding support for this could be nice.
Some possible implementation details:
To trigger this mode, perhaps the CouchDB driver could interpret kivik.Options{"attachments": true} to trigger this behavior. This retains near semantic parity with other functions, since the application/json response only contains attachment stubs.
Then to access these attachments, perhaps the Rows interface could be given an Attachments() *Attachments method, to match the Attachments field on the Row type.
In CouchDB 2.3, /_bulk_get has
multipart/mixed
support, to download attachments. Adding support for this could be nice.Some possible implementation details:
To trigger this mode, perhaps the CouchDB driver could interpret
kivik.Options{"attachments": true}
to trigger this behavior. This retains near semantic parity with other functions, since theapplication/json
response only contains attachment stubs.Then to access these attachments, perhaps the
Rows
interface could be given anAttachments() *Attachments
method, to match theAttachments
field on theRow
type.Migrated from go-kivik/couchdb#141
The text was updated successfully, but these errors were encountered: