[SERVER-23029] Aggregation should have a $reverseArray expression. Created: 09/Mar/16 Updated: 14/Mar/17 Resolved: 15/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.4 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Benjamin Murphy | Assignee: | Benjamin Murphy |
| Resolution: | Done | Votes: | 0 |
| Labels: | expression | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Query 11 (03/14/16) | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
| Comments |
| Comment by Benjamin Murphy [ 15/Mar/16 ] |
|
This ticket adds the $reverseArray expression to aggregation, which accepts as an argument an expression that evaluates to an array, and produces the reversed value of that array. It should be added to the list of agg expressions in documentation. Any drivers that translate individual agg expressions will need to be updated to account for this new expression. |
| Comment by Githook User [ 15/Mar/16 ] |
|
Author: {u'username': u'benjaminmurphy', u'name': u'Benjamin Murphy', u'email': u'benjamin_murphy@me.com'}Message: |
| Comment by Charlie Swanson [ 11/Mar/16 ] |
|
After some internal discussion, I've updated the description to match the agreed-upon design. |