| 109 | Future<Void> run(Reference<ExtConnection>) override { UNREACHABLE(); } |
| 110 | |
| 111 | void addDocument(bson::BSONObj doc) { |
| 112 | documents.push_back(doc.getOwned()); |
| 113 | replyHeader.documentCount++; |
| 114 | } |
| 115 | |
| 116 | void setError(std::string msg, int code) { |
| 117 | // Clear if response contains any outstanding documents |
no outgoing calls
no test coverage detected