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

Method getSubContext

src/QLContext.actor.cpp:665–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665Reference<UnboundQueryContext> UnboundQueryContext::getSubContext(StringRef sub) {
666 return Reference<UnboundQueryContext>(new UnboundQueryContext(*this, sub));
667}
668
669Reference<QueryContext> UnboundQueryContext::bindQueryContext(Reference<DocTransaction> tr) {
670 return Reference<QueryContext>(new QueryContext(tr))->getSubContext(prefix.toString());

Calls

no outgoing calls

Tested by

no test coverage detected