[SERVER-257] Complex key support for group command Created: 25/Aug/09 Updated: 12/Jul/16 Resolved: 09/Sep/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Usability |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
I'd like to be able to use complex (dotted-notation) keys such as "run.date" with the group command. Ideally I could also do something like this where a key matches wherever a condition would: insert( {a:[ {b:1}, {b:2}, {b:3}]} , {b:3}, {b:4}]} , {b:4}, {b:5}]} group({key: {"a.b":true}, reduce:some_count_func}) |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 15/Sep/09 ] |
|
released in 1.1.0 |
| Comment by Eliot Horowitz (Inactive) [ 09/Sep/09 ] |
|
the 2nd part really needs map/reduce (1 document -> multiple keys) |