|
|
@ -174,9 +174,9 @@ class Index { |
|
|
|
* Update multiple documents in the index |
|
|
|
* Update multiple documents in the index |
|
|
|
* If a constraint is violated, the changes need to be rolled back |
|
|
|
* If a constraint is violated, the changes need to be rolled back |
|
|
|
* and an error thrown |
|
|
|
* and an error thrown |
|
|
|
* @param {Array of oldDoc, newDoc pairs} pairs |
|
|
|
* @param {Array<{ oldDoc: T, newDoc: T }>} pairs |
|
|
|
* |
|
|
|
* |
|
|
|
* @API private |
|
|
|
* @private |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
updateMultipleDocs (pairs) { |
|
|
|
updateMultipleDocs (pairs) { |
|
|
|
let failingIndex |
|
|
|
let failingIndex |
|
|
|