-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Bug]: The Update query fails to update for all matching Document in mongo #9648
Comments
Able to simulate the issue |
Issue Resolution Summary : |
@leotom2000 i could repro the issue so reopening the issue |
Described below the findings about updating a document in Mongo. so the syntax like " $set: { "size.uom": "in", status: "P" }," needs to be followed while doing the update. The below syntax will work instead of {"name" : "cycle"} We need to follow the above working syntax because, the user need to be given options to all update operators like "$currentDate, $inc, $min, $max, $mul, $rename, The above syntax would not have worked earlier since there was an issue and was then fixed. |
@leotom2000 I tried the scenario which you explained and it is working |
Based on the above comment by @RakshaKShetty we can close the issue |
Is there an existing issue for this?
Current Behavior
When user try to update all the matching document at once the update happens only for 1 data in the mongo database
Steps To Reproduce
Environment
Production
Version
Cloud
The text was updated successfully, but these errors were encountered: