diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2017-06-30 12:45:22 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2017-07-03 11:58:07 -0400 |
commit | e4ee6ba2f69d402bb682decd53f635146cc3fafb (patch) | |
tree | 7dc09c7ca2a6471c435cb1188466875250ed65b3 /src/mongo/db/pipeline/parsed_add_fields.h | |
parent | 38aee09042a7205736a317d5f55cba102d25bad3 (diff) | |
download | mongo-e4ee6ba2f69d402bb682decd53f635146cc3fafb.tar.gz |
SERVER-29935 Clarify SingleDocumentTransformation's explain.
It's slightly different than that on DocumentSource, which should be
more obvious.
Diffstat (limited to 'src/mongo/db/pipeline/parsed_add_fields.h')
-rw-r--r-- | src/mongo/db/pipeline/parsed_add_fields.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/parsed_add_fields.h b/src/mongo/db/pipeline/parsed_add_fields.h index e0d60822ba3..f5e53284357 100644 --- a/src/mongo/db/pipeline/parsed_add_fields.h +++ b/src/mongo/db/pipeline/parsed_add_fields.h @@ -71,7 +71,7 @@ public: */ void parse(const BSONObj& spec) final; - Document serialize(boost::optional<ExplainOptions::Verbosity> explain) const final { + Document serializeStageOptions(boost::optional<ExplainOptions::Verbosity> explain) const final { MutableDocument output; _root->serialize(&output, explain); return output.freeze(); |