MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / New

Function New

internal/engine/postgresql/analyzer/analyze.go:36–43  ·  view source on GitHub ↗
(client dbmanager.Client, db config.Database)

Source from the content-addressed store, hash-verified

34}
35
36func New(client dbmanager.Client, db config.Database) *Analyzer {
37 return &Analyzer{
38 db: db,
39 dbg: opts.DebugFromEnv(),
40 client: client,
41 replacer: shfmt.NewReplacer(nil),
42 }
43}
44
45const columnQuery = `
46SELECT

Callers

nothing calls this directly

Calls 2

DebugFromEnvFunction · 0.92
NewReplacerFunction · 0.92

Tested by

no test coverage detected