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

Support for findOneAndUpdate with an aggregation pipeline #385

Open
mervyn-mccreight opened this issue Nov 17, 2022 · 0 comments
Open

Support for findOneAndUpdate with an aggregation pipeline #385

mervyn-mccreight opened this issue Nov 17, 2022 · 0 comments

Comments

@mervyn-mccreight
Copy link

According to https://www.mongodb.com/docs/upcoming/reference/method/db.collection.findOneAndUpdate/ findOneAndUpdate also supports defining an aggregation pipeline for the update.

This is also supported by the java client, it's the variant taking a List<Bson> as a parameter for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants