[DOCS-161] Improper JSON Formatting for Nested Expressions: Aggregation Framework Created: 12/Mar/12 Updated: 30/Oct/23 Resolved: 12/Mar/12 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Brian Partridge | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | aggregation, documentation, expression | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 11 years, 49 weeks, 2 days ago |
| Description |
|
To function properly, the nested expressions need to formatted in correct JSON, enclosed in their own objects. The documentation shows the following short example:
To render correctly, the $divide command must be an object:
Example: https://gist.github.com/2024712 Current location of documentation piece: http://www.mongodb.org/display/DOCS/Aggregation+Framework+-+Expression+Reference#AggregationFramework-ExpressionReference-Composition |
| Comments |
| Comment by Sam Kleinman (Inactive) [ 12/Mar/12 ] |
|
Brian, Thanks for the feedback, I've made the change you suggested, and looked for this this error in other places in the documentation, and I think it looks good, but if you spot this error in other places feel free to reopen this ticket. |