Closed adrienverge closed 4 years ago
CouchDB support attaching binary files to documents, using /db/doc/attachment path: https://docs.couchdb.org/en/2.3.0/api/document/attachments.html
/db/doc/attachment
Do you have any plans to implement that? If not, I propose to look into it. This could go in a new aiocouch.attachment.Attachment class, with a Document().attachment(id) helper.
aiocouch.attachment.Attachment
Document().attachment(id)
It sounds like a good idea to me. I'll gladly accept a PR.
I also see an aiocouch.remote.Attachment class.
aiocouch.remote.Attachment
CouchDB support attaching binary files to documents, using
/db/doc/attachment
path: https://docs.couchdb.org/en/2.3.0/api/document/attachments.htmlDo you have any plans to implement that? If not, I propose to look into it. This could go in a new
aiocouch.attachment.Attachment
class, with aDocument().attachment(id)
helper.