diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_lookup.h')
| -rw-r--r-- | src/mongo/db/pipeline/document_source_lookup.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_lookup.h b/src/mongo/db/pipeline/document_source_lookup.h index 88e41866dbd..899bed9d622 100644 --- a/src/mongo/db/pipeline/document_source_lookup.h +++ b/src/mongo/db/pipeline/document_source_lookup.h @@ -113,7 +113,13 @@ public: */ void serializeToArrayWithBothSyntaxes( std::vector<Value>& array, - boost::optional<ExplainOptions::Verbosity> explain = boost::none) const; + boost::optional<ExplainOptions::Verbosity> explain = boost::none, + bool serializeForQueryAnalysis = false) const; + + /** + * Serialize the $lookup stage for query analysis using the introspection sub-pipeline. + */ + void serializeToArrayForQueryAnalysis(std::vector<Value>& array) const; /** * Returns the 'as' path, and possibly fields modified by an absorbed $unwind. |
