MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / tryGetTableUUID

Method tryGetTableUUID

src/Databases/DatabaseMemory.cpp:126–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126UUID DatabaseMemory::tryGetTableUUID(const String & table_name) const
127{
128 if (auto table = tryGetTable(table_name, getContext()))
129 return table->getStorageID().uuid;
130 return UUIDHelpers::Nil;
131}
132
133void DatabaseMemory::removeDataPath(ContextPtr)
134{

Callers

nothing calls this directly

Calls 3

tryGetTableFunction · 0.85
getContextFunction · 0.50
getStorageIDMethod · 0.45

Tested by

no test coverage detected