Skip to content
New issue

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

SPEC-1136: Add insertedCount to BulkWriteResult #377

Merged
merged 1 commit into from Jul 27, 2018

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Jul 26, 2018

https://jira.mongodb.org/browse/SPEC-1136

insertedCount is a required BulkWriteResult field, so there's no reason we shouldn't include it in the expectation.

@jmikola jmikola requested a review from ShaneHarvey July 26, 2018 20:18
@ShaneHarvey
Copy link
Member

Looks like I screwed up the JSON formatting when I added this file... LGTM. Should we also add insertedCount to all the other uses of bulkWrite?

@jmikola
Copy link
Member Author

jmikola commented Jul 26, 2018

all the other uses of bulkWrite

AFAIK, this is the only test for bulkWrite() pending SPEC-870.

@jmikola jmikola changed the title Add insertedCount to BulkWriteResult SPEC-1136: Add insertedCount to BulkWriteResult Jul 27, 2018
@jmikola
Copy link
Member Author

jmikola commented Jul 27, 2018

Updated and tested against PHPLIB (with minor changes to our test harness). Please review when you get a chance (and feel free to test Python if you like).

Copy link
Member

@ShaneHarvey ShaneHarvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested in python (no changes needed for us).

@jmikola jmikola merged commit c0a0e7e into mongodb:master Jul 27, 2018
@jmikola jmikola deleted the bulk-insertedCount branch July 27, 2018 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants