-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
quarkus-mongodb-client ReactiveMongoCollection expose the Updates with Aggregation Pipeline method #38114
Comments
/cc @loicmathieu (mongodb) |
This is done in #38124 |
@loicmathieu Thank you for your help. Acutal the updateOne and updateMany have same problem. Uni<UpdateResult> updateOne(Bson filter, List<? extends Bson> update);
Uni<UpdateResult> updateOne(Bson filter, List<? extends Bson> update, UpdateOptions options);
Uni<UpdateResult> updateOne(ClientSession clientSession, Bson filter, List<? extends Bson> update);
Uni<UpdateResult> updateOne(ClientSession clientSession, Bson filter, List<? extends Bson> update, UpdateOptions options);
Uni<UpdateResult> updateMany(Bson filter, List<? extends Bson> update);
Uni<UpdateResult> updateMany(Bson filter, List<? extends Bson> update, UpdateOptions options);
Uni<UpdateResult> updateMany(ClientSession clientSession, Bson filter, List<? extends Bson> update);
Uni<UpdateResult> updateMany(ClientSession clientSession, Bson filter, List<? extends Bson> update, UpdateOptions options); |
@kuoche1712003 which problem? DO you mean those methods are also missing? |
@loicmathieu yes, those methods are also missing |
OK, I'll add them also then |
PR updated, I check and that all methods that was added in Mongo 4.2 so we should be OK now. |
Fixes quarkusio#38114 (cherry picked from commit 8debb80)
Description
I want to use the mongo client with the findOneAndUpdate method.
I have observed that the quarkus-mongodb-client ReactiveMongoCollection currently does not expose the method.
I've noticed that none of the methods related to updates in the quarkus-mongo-client ReactiveMongoCollection include the Updates with Aggregation Pipeline functionality.
Implementation ideas
The ReactiveMongoCollection interface adds methods related to Updates with Aggregation Pipeline and implements them.
The text was updated successfully, but these errors were encountered: