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

Method execute

src/ExtOperator.actor.cpp:264–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262struct ExtUpdateOperatorUnset {
263 static const char* name;
264 static Future<Void> execute(Reference<IReadWriteContext> cx,
265 StringRef const& path,
266 bson::BSONElement const& element) {
267 cx->getSubContext(path)->clearDescendants();
268 cx->clear(path);
269 return Void();
270 }
271};
272REGISTER_UPDATE_OPERATOR(ExtUpdateOperatorUnset, "$unset");
273

Callers

nothing calls this directly

Calls 3

clearDescendantsMethod · 0.45
getSubContextMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected