diff options
author | Martin Neupauer <martin.neupauer@mongodb.com> | 2018-08-09 17:09:08 -0400 |
---|---|---|
committer | Martin Neupauer <martin.neupauer@mongodb.com> | 2018-08-30 14:17:06 -0400 |
commit | 47306b9f203abee01f6fc54aa8d7ab8f8e25c8c9 (patch) | |
tree | 9d1734d0958b5f07afd6dad4adede420696fba3a /src/mongo/db/query/cursor_response.h | |
parent | b46de3f6c06fab5cf9b7ea0f4176b32ff544a4bf (diff) | |
download | mongo-47306b9f203abee01f6fc54aa8d7ab8f8e25c8c9.tar.gz |
SERVER-35905 Plug pieces together to perform a distributed when applicable
Diffstat (limited to 'src/mongo/db/query/cursor_response.h')
-rw-r--r-- | src/mongo/db/query/cursor_response.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/query/cursor_response.h b/src/mongo/db/query/cursor_response.h index 529654118df..52f4d30ed6a 100644 --- a/src/mongo/db/query/cursor_response.h +++ b/src/mongo/db/query/cursor_response.h @@ -166,6 +166,12 @@ public: }; /** + * Constructs a vector of CursorResponses from a command BSON response that represents one or + * more cursors. + */ + static std::vector<StatusWith<CursorResponse>> parseFromBSONMany(const BSONObj& cmdResponse); + + /** * Constructs a CursorResponse from the command BSON response. */ static StatusWith<CursorResponse> parseFromBSON(const BSONObj& cmdResponse); |