We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The BulkWrite function on a collection returns a BulkWriteResult : https://www.mongodb.com/docs/manual/reference/method/BulkWriteResult/#mongodb-method-BulkWriteResult
BulkWrite
BulkWriteResult
This does not match the expected keys that are picked/summed here:
mongo2mongo/src/syncData.ts
Line 71 in 642c8b0
pick uses ['insertedCount', 'modifiedCount', 'deletedCount', 'upsertedCount']
pick
['insertedCount', 'modifiedCount', 'deletedCount', 'upsertedCount']
pick uses unmatched keys: ['nInserted', 'nModified', 'nRemoved', 'nUpserted']
['nInserted', 'nModified', 'nRemoved', 'nUpserted']
Successful writes are emitted as failed, even though they were successfully written.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
BulkWrite
function on a collection returns aBulkWriteResult
: https://www.mongodb.com/docs/manual/reference/method/BulkWriteResult/#mongodb-method-BulkWriteResultThis does not match the expected keys that are picked/summed here:
mongo2mongo/src/syncData.ts
Line 71 in 642c8b0
Expected:
pick
uses['insertedCount', 'modifiedCount', 'deletedCount', 'upsertedCount']
Actual:
pick
uses unmatched keys:['nInserted', 'nModified', 'nRemoved', 'nUpserted']
Result:
Successful writes are emitted as failed, even though they were successfully written.
The text was updated successfully, but these errors were encountered: