We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73ecb37 commit 4deb3c3Copy full SHA for 4deb3c3
source/includes/extracts-agg-operators.yaml
@@ -1138,6 +1138,18 @@ content: |
1138
1139
Available in the :pipeline:`$setWindowFields` stage.
1140
1141
+ * - :group:`$minN`
1142
+
1143
+ - Returns an aggregation of the ``n`` minimum valued elements
1144
+ in a group.
1145
+ Distinct from the :expression:`$minN` array operator.
1146
1147
+ .. versionadded:: 5.2
1148
1149
+ Available in :pipeline:`$group`,
1150
+ :pipeline:`$setWindowFields`
1151
+ and as an :ref:`expression <aggregation-expressions>`.
1152
1153
* - :group:`$push`
1154
1155
- Returns an array of expression values for documents in each
0 commit comments