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

Method getVersionKey

src/QLContext.actor.cpp:731–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731Key UnboundCollectionContext::getVersionKey() {
732 return metadataDirectory->key().withSuffix(
733 DataValue(DocLayerConstants::VERSION_KEY, DVTypeCode::STRING).encode_key_part());
734}
735
736std::string UnboundCollectionContext::databaseName() {
737 return collectionDirectory->getPath()[1].toString();

Callers 2

bumpMetadataVersionMethod · 0.80
getMetadataVersionMethod · 0.80

Calls 2

DataValueClass · 0.85
encode_key_partMethod · 0.80

Tested by

no test coverage detected