diff options
author | Jacob Evans <jacob.evans@10gen.com> | 2019-03-20 11:42:07 -0400 |
---|---|---|
committer | Jacob Evans <jacob.evans@10gen.com> | 2019-04-04 14:26:34 -0400 |
commit | 33598e48f9be86c16990051934d4e72f073c2b86 (patch) | |
tree | eb1fc7f64add6c5f23d110059554b1b13896a2e2 /src/mongo/db/pipeline/pipeline.h | |
parent | eda597a9970ae8f1f7a4c4ede0c0f5802c612d35 (diff) | |
download | mongo-33598e48f9be86c16990051934d4e72f073c2b86.tar.gz |
SERVER-40312 Create a generic tree for pipeline metatdata
Diffstat (limited to 'src/mongo/db/pipeline/pipeline.h')
-rw-r--r-- | src/mongo/db/pipeline/pipeline.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/pipeline.h b/src/mongo/db/pipeline/pipeline.h index 849143dd94e..05e2b77977d 100644 --- a/src/mongo/db/pipeline/pipeline.h +++ b/src/mongo/db/pipeline/pipeline.h @@ -278,6 +278,10 @@ public: return _sources; } + SourceContainer& getSources() { + return _sources; + } + /** * Removes and returns the first stage of the pipeline. Returns nullptr if the pipeline is * empty. |