couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma" <>
Subject Re: Is map reduce on attachments possible?
Date Tue, 09 Feb 2010 09:35:15 GMT
Hello Phat Loc,

Read about the HTTP document API [1]. You'll notice there are two kinds of
attachments, one of which is inline. You can emit name, length and
content-type of inline attachments by accessing the _attachments special
field. But you cannot access the base64 encoded data within map/reduce,
you will need to fetch a document attachment by including
?attachments=true to your query.



Phat Loc said:
> Hi All,
> I am new to CouchDB. Is map reduce on attachments possible? If so do
> you have an example?
> Thanks!
> Phat

View raw message