MCPcopy
hub / github.com/mongodb/node-mongodb-native / group

Method group

src/cursor/aggregation_cursor.ts:152–154  ·  view source on GitHub ↗
($group: Document)

Source from the content-addressed store, hash-verified

150 /** Add a group stage to the aggregation pipeline */
151 group<T = TSchema>($group: Document): AggregationCursor<T>;
152 group($group: Document): this {
153 return this.addStage({ $group });
154 }
155
156 /** Add a limit stage to the aggregation pipeline */
157 limit($limit: number): this {

Callers 2

Calls 1

addStageMethod · 0.95

Tested by

no test coverage detected