MCPcopy Create free account
hub / github.com/apecloud/myduckserver / FullSchemaName

Function FullSchemaName

catalog/identifier.go:11–20  ·  view source on GitHub ↗
(catalog, schema string)

Source from the content-addressed store, hash-verified

9)
10
11func FullSchemaName(catalog, schema string) string {
12 if catalog == "" {
13 return `"` + schema + `"`
14 }
15 // why?
16 if schema == "" {
17 return `"` + catalog + `"`
18 }
19 return `"` + catalog + `"."` + schema + `"`
20}
21
22func FullTableName(catalog, schema, table string) string {
23 return FullSchemaName(catalog, schema) + `."` + table + `"`

Callers 9

BuildMethod · 0.92
CreateDatabaseMethod · 0.85
DropDatabaseMethod · 0.85
CreateViewMethod · 0.85
DropViewMethod · 0.85
GetConnForSchemaMethod · 0.85
CreateIndexMethod · 0.85
DropIndexMethod · 0.85
FullTableNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected