Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ClickHouse/ClickHouse
/ getDatabaseName
Method
getDatabaseName
src/Parsers/ASTIdentifier.cpp:217–221 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
215
}
216
217
String ASTTableIdentifier::getDatabaseName() const
218
{
219
if (name_parts.size() == 2) return name_parts[0];
220
return {};
221
}
222
223
ASTPtr ASTTableIdentifier::getTable() const
224
{
Callers
15
buzzHouse
Method · 0.45
getEffectiveRowPolicyFilter
Function · 0.45
parseAdditionalFilterAstIfNeeded
Function · 0.45
buildQueryPlanForTableExpression
Function · 0.45
State
Method · 0.45
getTargetTableImpl
Method · 0.45
read
Method · 0.45
readImpl
Method · 0.45
dropInnerTableIfAny
Method · 0.45
prepareRefresh
Method · 0.45
verifyTableId
Function · 0.45
createInformationSchemaView
Function · 0.45
Calls
1
size
Method · 0.45
Tested by
2
State
Method · 0.36
State
Method · 0.36