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

Function replaceUpdate

src/ExtMsg.actor.cpp:1448–1450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1446 return ref(new ExtOperatorUpdate(msgUpdate));
1447}
1448Reference<IUpdateOp> replaceUpdate(bson::BSONObj const& replaceWith) {
1449 return ref(new ExtReplaceUpdate(replaceWith));
1450}
1451Reference<IInsertOp> simpleUpsert(bson::BSONObj const& selector, bson::BSONObj const& update) {
1452 return ref(new ExtSimpleUpsert(selector, update));
1453}

Calls 1

refFunction · 0.85

Tested by

no test coverage detected