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

Update with aggregation pipeline #2578

Merged
merged 7 commits into from Dec 28, 2021

Conversation

idoshr
Copy link
Contributor

@idoshr idoshr commented Oct 16, 2021

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

@idoshr
Copy link
Contributor Author

idoshr commented Oct 17, 2021

@bagerard Need to update the .github/workflows/github-actions.yml file in line 56 to
PYMONGO_3_9 instead PYMONGO_3_6

docs/guide/querying.rst Outdated Show resolved Hide resolved
Copy link
Collaborator

@bagerard bagerard left a 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

@idoshr idoshr requested a review from bagerard November 14, 2021 13:37
Copy link
Collaborator

@bagerard bagerard left a 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!

@bagerard bagerard merged commit 8af8878 into MongoEngine:master Dec 28, 2021
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

3 participants