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

Method redact

src/cursor/aggregation_cursor.ts:222–224  ·  view source on GitHub ↗

Add a redact stage to the aggregation pipeline

($redact: Document)

Source from the content-addressed store, hash-verified

220
221 /** Add a redact stage to the aggregation pipeline */
222 redact($redact: Document): this {
223 return this.addStage({ $redact });
224 }
225
226 /** Add a skip stage to the aggregation pipeline */
227 skip($skip: number): this {

Callers 1

Calls 1

addStageMethod · 0.95

Tested by

no test coverage detected