diff options
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. |