Skip to content

Success

A debug report for a successful stage.

Constructors

Success

constructor(stage: BsonDocument, results: List<BsonDocument>)

Properties

results

The first documents output by this stage.

To control the number of documents returned, see the parameters of MongoAggregationPipeline.debug.

stage

open override val stage: BsonDocument

The stage that was executed.

Note that the very first stage in a pipeline is always an empty document. See PipelineDebugReport.stages for more information.

Functions

toString

open override fun toString(): String