Skip to content

StageDebugReport

sealed class StageDebugReport

A debug report to help understand how a specific stage behaves.

The report describes a stage and its output. A stage may be successful or a failure.

To generate a debug report, call MongoAggregationPipeline.debug.

Inheritors

Types

Failure

A debug report for a failed stage.

Success

A debug report for a successful stage.

Properties

stage

abstract 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.