summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_change_stream_oplog_match.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_change_stream_oplog_match.h')
-rw-r--r--src/mongo/db/pipeline/document_source_change_stream_oplog_match.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_change_stream_oplog_match.h b/src/mongo/db/pipeline/document_source_change_stream_oplog_match.h
index 06d6602ca49..68755f811b9 100644
--- a/src/mongo/db/pipeline/document_source_change_stream_oplog_match.h
+++ b/src/mongo/db/pipeline/document_source_change_stream_oplog_match.h
@@ -57,8 +57,10 @@ public:
static boost::intrusive_ptr<DocumentSource> createFromBson(
BSONElement elem, const boost::intrusive_ptr<ExpressionContext>& pExpCtx);
+
static boost::intrusive_ptr<DocumentSourceChangeStreamOplogMatch> create(
- const boost::intrusive_ptr<ExpressionContext>& expCtx, bool showMigrationEvents);
+ const boost::intrusive_ptr<ExpressionContext>& expCtx,
+ const DocumentSourceChangeStreamSpec& spec);
const char* getSourceName() const final;