-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update with aggregation pipeline #2578
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
Update with aggregation pipeline #2578
Conversation
@bagerard Need to update the .github/workflows/github-actions.yml file in line 56 to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggested an API change, let me know what you think
…pdate_with_Aggregation_Pipeline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, thanks for your contribution!
Update with aggregation pipeline
I add support to update with aggregation pipeline
The only option to do that is create new parameter to the update query and enforce use raw
if someone find way to use update with aggregation with mongoengine it will be brilliant
thanks
https://docs.mongodb.com/manual/referenc
e/method/db.collection.updateMany/#update-with-aggregation-pipeline