[SERVER-10676] $multiply does not support a reference to an array Created: 04/Sep/13 Updated: 06/Dec/22 Resolved: 19/Jan/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | cowstrike | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | expression | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Assigned Teams: |
Query
|
||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
$multiply does not accept a reference to an array. |
| Comments |
| Comment by Charlie Swanson [ 19/Jan/18 ] |
|
Hi cowstrike, This feature has already been requested in SERVER-10682, so I'm marking this request as a duplicate. I will update the summary/description to make it clear that should we implement it, we would likely make $multiply (or perhaps $product) available both as an expression which accepts an array (for use in a $project stage, as it is today) and as an accumulator (for use in a $group stage). Please watch SERVER-10682 for updates. |