From c088ca3d8fef6d806f92ea2d5869d8910e5cd30c Mon Sep 17 00:00:00 2001 From: Anton Korshunov Date: Mon, 18 Jan 2021 22:06:40 +0000 Subject: SERVER-53270 Include SBE PlanStage tree string into explain output --- src/mongo/db/pipeline/document_source_cursor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mongo/db/pipeline/document_source_cursor.h') diff --git a/src/mongo/db/pipeline/document_source_cursor.h b/src/mongo/db/pipeline/document_source_cursor.h index 6df87f7c706..2d3a5332b10 100644 --- a/src/mongo/db/pipeline/document_source_cursor.h +++ b/src/mongo/db/pipeline/document_source_cursor.h @@ -115,6 +115,10 @@ public: return &_stats; } + const PlanExplainer::ExplainVersion& getExplainVersion() const { + return _exec->getPlanExplainer().getVersion(); + } + protected: DocumentSourceCursor(const CollectionPtr& collection, std::unique_ptr exec, -- cgit v1.2.1