Skip to content

Support aggregation pipelines in updates - #742

Open
guludo wants to merge 3 commits into
mongomock:developfrom
guludo:pr/pipeline-in-update
Open

guludo wants to merge 3 commits into
mongomock:developfrom
guludo:pr/pipeline-in-update

Conversation

@guludo

@guludo guludo commented Jan 6, 2022

Copy link
Copy Markdown
Contributor

Hi there!

This PR adds support for usage of aggregation pipelines in updates.

Fixes #733 .

Best regards,
Gustavo Sousa

guludo added 3 commits January 6, 2022 11:43
In a future patch we will add support for using aggregation pipeline as
argument for the update. As such, let's move things specific for
document as argument to a separate method.
Not yet implemented, but at least we recognize it. Note that in this
patch we borrow code from the original implementation of pymongo
regarding validation.
@jobrachem

Copy link
Copy Markdown

Support for aggregation pipelines would be really useful!

@michele-amati

Copy link
Copy Markdown

Any news on this one?

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.

Support for aggregation pipelines in updates

3 participants