diff options
author | Jacob Evans <jacob.evans@mongodb.com> | 2019-09-10 22:58:06 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-09-10 22:58:06 +0000 |
commit | ec7207615f975d04392ea7cb3fba4d6d0cfe1a6c (patch) | |
tree | 6afa6ab6d4f3c55c77ab6eea6ab504f146a2ab30 /src/mongo/db/pipeline/document_source_merge.h | |
parent | 42f6c0aeb341b1b0d2b6bbcea15acf35086a038c (diff) | |
download | mongo-ec7207615f975d04392ea7cb3fba4d6d0cfe1a6c.tar.gz |
SERVER-43013 Translate Map Reduce to Agg Pipeline
Diffstat (limited to 'src/mongo/db/pipeline/document_source_merge.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_merge.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_merge.h b/src/mongo/db/pipeline/document_source_merge.h index f7889528930..05b7fe7606f 100644 --- a/src/mongo/db/pipeline/document_source_merge.h +++ b/src/mongo/db/pipeline/document_source_merge.h @@ -143,6 +143,10 @@ public: static boost::intrusive_ptr<DocumentSource> createFromBson( BSONElement elem, const boost::intrusive_ptr<ExpressionContext>& pExpCtx); + auto getPipeline() const { + return _pipeline; + } + private: /** * Builds a new $merge stage which will merge all documents into 'outputNs'. If |