Closed GoogleCodeExporter closed 8 years ago
jcouchdb mirrors the way couchdb itself works. the _attachments object is only
filled
with data for creating attachments inlined. filling it with data on reads would
require jcouchdb to make additional calls hidden in getDocument, something I am
violently opposed to.
Original comment by ff...@gmx.de
on 5 Mar 2009 at 9:42
while I figured it out, using:
BaseDocument d = ipsDatabase.getDocument(BaseDocument.class, doc.getId());
data = ipsDatabase.getAttachment(doc.getId(), "ips");
can you remove or hide the getData() ?
Original comment by adakkak@gmail.com
on 5 Mar 2009 at 9:51
I don't think that would be a good idea. it would just ruin all symmetry and
simplicity and add very little.
I added some more documentation about this issue.
Original comment by ff...@gmx.de
on 6 Mar 2009 at 3:35
How can I assign a id value to attachment just like the "ips" above?
Where is the documentation about it ?
Original comment by liujiawi...@gmail.com
on 25 Oct 2013 at 2:42
Original issue reported on code.google.com by
adakkak@gmail.com
on 5 Mar 2009 at 5:00