diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2015-04-21 10:33:40 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2015-04-24 04:05:21 -0400 |
commit | 1655e260f640dadc696684afb6766b86199a665b (patch) | |
tree | ec684dbad386ad866cedb0eec77c64aa890eaee3 /src/mongo/db/commands.h | |
parent | ab8295bf7cc572a391e8c364b5291f1d9b3b0720 (diff) | |
download | mongo-1655e260f640dadc696684afb6766b86199a665b.tar.gz |
SERVER-18153 add repl subobject to find/getmore responses
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r-- | src/mongo/db/commands.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h index 16db4cf84bd..500b6a3149b 100644 --- a/src/mongo/db/commands.h +++ b/src/mongo/db/commands.h @@ -294,30 +294,6 @@ namespace mutablebson { long long* batchSize); /** - * Builds a cursor response object from the provided cursor identifiers and "firstBatch", - * and appends the response object to the provided builder under the field name "cursor". - * - * The response object has the following format: - * { id: <NumberLong>, ns: <String>, firstBatch: <Array> }. - */ - static void appendCursorResponseObject(long long cursorId, - StringData cursorNamespace, - BSONArray firstBatch, - BSONObjBuilder* builder); - - /** - * Builds a getMore response object from the provided cursor identifiers and "nextBatch", - * and appends the response object to the provided builder under the field name "cursor". - * - * The response object has the following format: - * { id: <NumberLong>, ns: <String>, nextBatch: <Array> }. - */ - static void appendGetMoreResponseObject(long long cursorId, - StringData cursorNamespace, - BSONArray nextBatch, - BSONObjBuilder* builder); - - /** * Helper for setting a writeConcernError field in the command result object if * a writeConcern error occurs. */ |