MCPcopy Create free account
hub / github.com/bytebase/bytebase / WalkThrough

Function WalkThrough

backend/plugin/schema/pg/walk_through.go:19–21  ·  view source on GitHub ↗

WalkThrough walks through the PostgreSQL DDL and builds catalog metadata.

(d *model.DatabaseMetadata, ast []base.AST)

Source from the content-addressed store, hash-verified

17
18// WalkThrough walks through the PostgreSQL DDL and builds catalog metadata.
19func WalkThrough(d *model.DatabaseMetadata, ast []base.AST) *storepb.Advice {
20 return WalkThroughWithContext(schema.WalkThroughContext{}, d, ast)
21}
22
23// WalkThroughWithContext walks through the PostgreSQL DDL and builds catalog metadata.
24func WalkThroughWithContext(ctx schema.WalkThroughContext, d *model.DatabaseMetadata, ast []base.AST) *storepb.Advice {

Callers

nothing calls this directly

Calls 1

WalkThroughWithContextFunction · 0.70

Tested by

no test coverage detected