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

Method v_getSubContext

src/QLContext.actor.cpp:593–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591QueryContext::QueryContext(Reference<DocTransaction> tr) : self(new QueryContextData(tr)) {}
592
593QueryContext* QueryContext::v_getSubContext(StringRef sub) {
594 return new QueryContext(*this, sub);
595}
596
597QueryContext::QueryContext(QueryContext const& other, StringRef sub) : self(new QueryContextData(other.self, sub)) {}
598

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected