(metadata, row, winningRev$$1)
| 5517 | // if the user specifies include_docs=true, then we don't |
| 5518 | // want to block the main cursor while we're fetching the doc |
| 5519 | function fetchDocAsynchronously(metadata, row, winningRev$$1) { |
| 5520 | var key = metadata.id + "::" + winningRev$$1; |
| 5521 | docIdRevIndex.get(key).onsuccess = function onGetDoc(e) { |
| 5522 | row.doc = decodeDoc(e.target.result) || {}; |
| 5523 | if (opts.conflicts) { |
| 5524 | var conflicts = collectConflicts(metadata); |
| 5525 | if (conflicts.length) { |
| 5526 | row.doc._conflicts = conflicts; |
| 5527 | } |
| 5528 | } |
| 5529 | fetchAttachmentsIfNecessary(row.doc, opts, txn); |
| 5530 | }; |
| 5531 | } |
| 5532 | |
| 5533 | function allDocsInner(winningRev$$1, metadata) { |
| 5534 | var row = { |
no test coverage detected
searching dependent graphs…