diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-09-01 14:06:58 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-09-06 13:41:32 -0400 |
commit | ed601dd01169b8c1fad9fb8d388da0523a1b48f5 (patch) | |
tree | 4d08bd1a36a12967fcb098432709da07236026b3 /src/mongo/db/pipeline/document.h | |
parent | 456ba544978a0d41a2261bf65da686874fb631a2 (diff) | |
download | mongo-ed601dd01169b8c1fad9fb8d388da0523a1b48f5.tar.gz |
SERVER-30899 Aggregations sent from a 3.4 mongos should serialize 3.4 metadata
Diffstat (limited to 'src/mongo/db/pipeline/document.h')
-rw-r--r-- | src/mongo/db/pipeline/document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document.h b/src/mongo/db/pipeline/document.h index a8ebfd1c4d2..0df446a797a 100644 --- a/src/mongo/db/pipeline/document.h +++ b/src/mongo/db/pipeline/document.h @@ -208,7 +208,7 @@ public: * Like toBson, but includes metadata at the top-level. * Output is parseable by fromBsonWithMetaData */ - BSONObj toBsonWithMetaData() const; + BSONObj toBsonWithMetaData(bool includeSortKey = true) const; /** * Like Document(BSONObj) but treats top-level fields with special names as metadata. |