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

Function GetCurrentCatalog

adapter/adapter.go:47–49  ·  view source on GitHub ↗
(ctx *sql.Context)

Source from the content-addressed store, hash-verified

45}
46
47func GetCurrentCatalog(ctx *sql.Context) string {
48 return ctx.Session.(ConnectionHolder).GetCurrentCatalog()
49}
50
51func GetCurrentSchema(ctx *sql.Context) string {
52 return ctx.Session.(ConnectionHolder).GetCurrentSchema()

Callers 6

BuildMethod · 0.92
AllDatabasesMethod · 0.92
DatabaseMethod · 0.92
HasDatabaseMethod · 0.92
CreateDatabaseMethod · 0.92
DropDatabaseMethod · 0.92

Calls 1

GetCurrentCatalogMethod · 0.65

Tested by

no test coverage detected