diff options
author | David Storch <david.storch@10gen.com> | 2016-10-03 11:48:27 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2016-10-06 11:19:24 -0400 |
commit | 4976eb401b3f16482fb35287ea60d7e8b33fe76d (patch) | |
tree | 3ab5cfaec3f76dc334b006f0b1eeb7162772d4d6 /src/mongo/db/pipeline/parsed_add_fields.h | |
parent | a2d34afd4330258e05c5ac1e9174338cfda29a10 (diff) | |
download | mongo-4976eb401b3f16482fb35287ea60d7e8b33fe76d.tar.gz |
SERVER-19153 push $match as far forward as possible
Diffstat (limited to 'src/mongo/db/pipeline/parsed_add_fields.h')
-rw-r--r-- | src/mongo/db/pipeline/parsed_add_fields.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/parsed_add_fields.h b/src/mongo/db/pipeline/parsed_add_fields.h index 240b17faead..58b8445e727 100644 --- a/src/mongo/db/pipeline/parsed_add_fields.h +++ b/src/mongo/db/pipeline/parsed_add_fields.h @@ -96,6 +96,11 @@ public: return DocumentSource::SEE_NEXT; } + DocumentSource::GetModPathsReturn getModifiedPaths() const final { + // TODO SERVER-25510 Only report added paths as modified. + return {DocumentSource::GetModPathsReturn::Type::kAllPaths, std::set<std::string>{}}; + } + /** * Add the specified fields to 'inputDoc'. * |