diff options
Diffstat (limited to 'src/mongo/db/pipeline/stage_constraints.h')
-rw-r--r-- | src/mongo/db/pipeline/stage_constraints.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/stage_constraints.h b/src/mongo/db/pipeline/stage_constraints.h index 661b9954195..b520dfdbbdb 100644 --- a/src/mongo/db/pipeline/stage_constraints.h +++ b/src/mongo/db/pipeline/stage_constraints.h @@ -328,6 +328,10 @@ struct StageConstraints { // documents because our implementation of $sample shuffles the order bool canSwapWithSkippingOrLimitingStage = false; + // If true, then any stage of kind 'DocumentSourceSingleDocumentTransformation' can be swapped + // ahead of this stage. + bool canSwapWithSingleDocTransform = false; + // Indicates that a stage is allowed within a pipeline-stlye update. bool isAllowedWithinUpdatePipeline = false; |