Description Usage Arguments Value
Add a $group stage to a MongoPipeline.
1 2 3 4 |
p |
A MongoPipeline instance. |
by |
The grouping variable(s), as an expression. |
... |
Zero or more name=value pairs where name represent a field to create, and values are accumulator expressions. |
A copy of the previous pipeline, with the new stage added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.