PipelineDebugReport¶
data class PipelineDebugReport(val stages: List<MongoAggregationPipeline.StageDebugReport>, val limit: Int)
A debug report to help understand how this pipeline behaves.
The report lists the different stages declared in the pipeline (in order). For each stage, the report gives the first few output documents.
To generate a debug report, call MongoAggregationPipeline.debug.
Constructors¶
PipelineDebugReport¶
constructor(stages: List<MongoAggregationPipeline.StageDebugReport>, limit: Int)
Properties¶
limit¶
The limit parameter that was passed to MongoAggregationPipeline.debug.
stages¶
The different stages declared in the pipeline, in order.
The very first item is this list is the initial collection. Because it corresponds to no actual stage, it is represented by an empty document.