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

Method out

src/cursor/aggregation_cursor.ts:167–169  ·  view source on GitHub ↗

Add an out stage to the aggregation pipeline

($out: { db: string; coll: string } | string)

Source from the content-addressed store, hash-verified

165
166 /** Add an out stage to the aggregation pipeline */
167 out($out: { db: string; coll: string } | string): this {
168 return this.addStage({ $out });
169 }
170
171 /**
172 * Add a project stage to the aggregation pipeline

Callers 2

mongodb.test-d.tsFile · 0.80

Calls 1

addStageMethod · 0.95

Tested by

no test coverage detected