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

Function fullCollNameToString

src/MetadataManager.actor.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27using namespace FDB;
28
29std::string fullCollNameToString(Namespace const& ns) {
30 return ns.first + "." + (ns.second.empty() ? "$cmd" : ns.second);
31}
32
33Future<uint64_t> getMetadataVersion(Reference<DocTransaction> tr, Reference<DirectorySubspace> metadataDirectory) {
34 Standalone<StringRef> versionKey = metadataDirectory->key().withSuffix(

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected