diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2017-08-03 13:55:23 -0400 |
---|---|---|
committer | Matthew Russotto <matthew.russotto@10gen.com> | 2017-08-03 14:32:12 -0400 |
commit | 0686b1ed2d042ad5adb671912e7d6b9cc89d0c4f (patch) | |
tree | 5fe3f0a6d4e8445eaec46b564b55cfc6753cbcac /src/mongo/db/pipeline/value.h | |
parent | 07d4d94b06c6899699410312e20ef33d954ddbd1 (diff) | |
download | mongo-0686b1ed2d042ad5adb671912e7d6b9cc89d0c4f.tar.gz |
SERVER-29131 Support resumeAfter option to control where to start returning notifications from, which always errors if no entry with the given resumeToken exists
Diffstat (limited to 'src/mongo/db/pipeline/value.h')
-rw-r--r-- | src/mongo/db/pipeline/value.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/value.h b/src/mongo/db/pipeline/value.h index 04e396dc58d..40c05d89b9a 100644 --- a/src/mongo/db/pipeline/value.h +++ b/src/mongo/db/pipeline/value.h @@ -328,6 +328,11 @@ public: return *this; } + /// Members to support parsing/deserialization from IDL generated code. + void serializeForIDL(StringData fieldName, BSONObjBuilder* builder) const; + void serializeForIDL(BSONArrayBuilder* builder) const; + static Value deserializeForIDL(const BSONElement& element); + private: /** This is a "honeypot" to prevent unexpected implicit conversions to the accepted argument * types. bool is especially bad since without this it will accept any pointer. |