-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:
Description
Improve the $group operator page:
Scope of changes
(some combination/permutations):
- Add multi-stage examples. Check some existing examples in docs for use of group. Where appropriate, show the results of each individual stage. Utilize common datasets for multiple examples where we can.
- Order examples such that common use cases appear first. (Counting documents is the most common use case for $group)
- For each example, make sure we provide a command to insert the sample documents so users can follow along. Each example should follow the form: Sample Documents, Aggregation, Results.
- If possible, include $cond.
- Add some SQL comparison examples. Show group by having.
- Double check the language to vet out the unclear/ambiguous/etc.
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- is cloned by
-
DOCS-13043 $unwind docs improvements
- Closed