MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / addDocument

Method addDocument

src/ExtMsg.actor.h:111–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

Future<Void> runCommandFunction · 0.80
Future<Void> runQueryFunction · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80
callMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected