[JAVA-3239] Aggregation operator $map Created: 19/Mar/19  Updated: 11/Sep/19  Resolved: 25/Mar/19

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: 3.10.1
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: f-renout Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Where can I found an helper to generate a map aggregation like defined in https://docs.mongodb.com/manual/reference/operator/aggregation/map/index.html

 

Today I can archieve the result using a BsonDocument parsed from a jsonbut having a constructor helper could be really nice



 Comments   
Comment by Ian Whalen (Inactive) [ 25/Mar/19 ]

Hey f-renout, we only have agg helpers built in the java driver for stages, not expressions, and $map is an expression. You can follow JAVA-1949 to see progress on our addition of helpers for expressions.

Generated at Thu Feb 08 08:59:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.