Skip to content

Commit 237bbd8

Browse files
DOCSP-18204 update for group pipeline stage (#192)
1 parent d88031f commit 237bbd8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

source/supported-unsupported/supported-aggregation.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,28 @@ column for details.
6060

6161
See :ref:`query-atlas` for more information.
6262

63+
* - :pipeline:`$group`
64+
- Groups input documents by the specified ``_id`` expression and
65+
for each distinct grouping, outputs a document. {+adl+} doesn't
66+
support empty string keys for the accumulator fields.
67+
68+
.. example::
69+
70+
The following is **not** supported:
71+
72+
.. code-block:: json
73+
:copyable: false
74+
:emphasize-lines: 4
75+
76+
{
77+
"$group" : {
78+
"_id" : "$representationType",
79+
"" : {
80+
"$sum" : NumberInt(1)
81+
}
82+
}
83+
}
84+
6385
* - :pipeline:`$lookup`
6486
- Performs a left outer join to a collection in the same database.
6587
{+adl+} provides syntax for joining collections from different

0 commit comments

Comments
 (0)