MCPcopy Create free account
hub / github.com/sqlc-dev/sqlc / NewCatalog

Function NewCatalog

internal/engine/dolphin/catalog.go:7–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5)
6
7func NewCatalog() *catalog.Catalog {
8 def := "public" // TODO: What is the default database for MySQL?
9 return &catalog.Catalog{
10 DefaultSchema: def,
11 Schemas: []*catalog.Schema{
12 defaultSchema(def),
13 },
14 Extensions: map[string]struct{}{},
15 }
16}

Callers 1

NewCompilerFunction · 0.92

Calls 1

defaultSchemaFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…