(doc, att)
| 4805 | } |
| 4806 | |
| 4807 | function fetchAttachment(doc, att) { |
| 4808 | var attObj = doc._attachments[att]; |
| 4809 | var digest = attObj.digest; |
| 4810 | var req = txn.objectStore(ATTACH_STORE).get(digest); |
| 4811 | req.onsuccess = function (e) { |
| 4812 | attObj.body = e.target.result.body; |
| 4813 | checkDone(); |
| 4814 | }; |
| 4815 | } |
| 4816 | |
| 4817 | attachments.forEach(function (att) { |
| 4818 | if (opts.attachments && opts.include_docs) { |
no test coverage detected
searching dependent graphs…