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

fix(shell-api): allow pipeline-style bulk update operations MONGOSH-1281 #1347

Merged
merged 4 commits into from
Sep 19, 2022

Conversation

addaleax
Copy link
Contributor

Fix cloning of the update documents to allow arrays as well as objects, so that users can use aggregation pipelines for bulk updates.

Also, remove the buggy hint and arrayFilters implementation that was storing extra properties in the wrong place on the outgoing documents, and instead fully rely on driver helpers to implement these.



Fix cloning of the update documents to allow arrays as well as
objects, so that users can use aggregation pipelines for bulk updates.

Also, remove the buggy `hint` and `arrayFilters` implementation
that was storing extra properties in the wrong place on the outgoing
documents, and instead fully rely on driver helpers to implement
these.
@addaleax addaleax merged commit fbbf54a into main Sep 19, 2022
@addaleax addaleax deleted the 1281-dev branch September 19, 2022 19:04
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.

2 participants