You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to use aggregation update in spring data mongo BulkOperations
MongoTemplate's update function support AggregationUpdate, e.g UpdateResult updateMulti(Query query, UpdateDefinition update, String collectionName);
this would accept AggregationUpdate.
but currently in BulkOperations it only supports BulkOperations upsert(List<Pair<Query, Update>> updates);
I am wondering if it could support aggregation update in bulk upsert like BulkOperations upsert(List<Pair<Query, UpdateDefinition>> updates);
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I would like to use aggregation update in spring data mongo BulkOperations
MongoTemplate's update function support AggregationUpdate, e.g
UpdateResult updateMulti(Query query, UpdateDefinition update, String collectionName);
this would accept AggregationUpdate.
but currently in BulkOperations it only supports
BulkOperations upsert(List<Pair<Query, Update>> updates);
I am wondering if it could support aggregation update in bulk upsert like
BulkOperations upsert(List<Pair<Query, UpdateDefinition>> updates);
Thanks!
The text was updated successfully, but these errors were encountered: