8000 feat: support in aggregation pipeline by LoicAvelin · Pull Request #926 · mongomock/mongomock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: support in aggregation pipeline #926

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LoicAvelin
Copy link

I've modified and added the inclusion of the $mergeObjects object in the aggregation pipeline. Tests were found in test__mongomock.py, I added a few other cases and they succeeded. I tried testing the whole file, and I got other errors that are not related to my modification.
If I need to do anything else, let me know ^^.

Copy link
codecov bot commented Jun 25, 2025

Codecov Report

Attention: Patch coverage is 28.57143% with 10 lines in your changes missing coverage. Please review.

Project coverage is 95.98%. Comparing base (d5c0e8b) to head (82f1ce1).

Files with missing lines Patch % Lines
mongomock/aggregate.py 28.57% 10 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #926      +/-   ##
===========================================
- Coverage    96.07%   95.98%   -0.10%     
===========================================
  Files           35       35              
  Lines        10118    10131      +13     
===========================================
+ Hits          9721     9724       +3     
- Misses         397      407      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant
0