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

Method lookup

src/cursor/aggregation_cursor.ts:217–219  ·  view source on GitHub ↗

Add a lookup stage to the aggregation pipeline

($lookup: Document)

Source from the content-addressed store, hash-verified

215
216 /** Add a lookup stage to the aggregation pipeline */
217 lookup($lookup: Document): this {
218 return this.addStage({ $lookup });
219 }
220
221 /** Add a redact stage to the aggregation pipeline */
222 redact($redact: Document): this {

Calls 1

addStageMethod · 0.95

Tested by

no test coverage detected