Skip to content
Browse files

(#6039) - include id in all bulk_docs results (#6047)

CouchDB already includes an id field for each result in a _bulk_docs response. For non-http adapters, ensure we do the same.

It seems simpler to do this in the core adapter code rather than patch up every individual storage engine.
  • Loading branch information...
willholley committed Dec 22, 2016
1 parent 587ba8f commit 2553fd77bf341976f205a5e7ae8352775dee7409
Showing with 12 additions and 1 deletion.
  1. +10 −1 packages/node_modules/pouchdb-core/src/adapter.js
  2. +2 −0 tests/integration/test.bulk_docs.js

Some generated files are not rendered by default. Learn more.

@@ -67,6 +67,8 @@ adapters.forEach(function (adapter) {
'conflict', 'First doc should be in conflict');
should.not.exist(results[0].rev, 'no rev in conflict');
for (i = 1; i < 5; i++) {

0 comments on commit 2553fd7

Please sign in to comment.
You can’t perform that action at this time.