Success¶
data class Success(val stage: BsonDocument, val results: List<BsonDocument>) : MongoAggregationPipeline.StageDebugReport
A debug report for a successful stage.
Constructors¶
Success¶
constructor(stage: BsonDocument, results: List<BsonDocument>)
Properties¶
results¶
val results: List<BsonDocument>
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.