MCPcopy
hub / github.com/sqlc-dev/sqlc / Close

Method Close

internal/engine/postgresql/analyzer/analyze.go:318–323  ·  view source on GitHub ↗
(_ context.Context)

Source from the content-addressed store, hash-verified

316}
317
318func (a *Analyzer) Close(_ context.Context) error {
319 if a.pool != nil {
320 a.pool.Close()
321 }
322 return nil
323}
324
325// SQL queries for schema introspection
326const introspectTablesQuery = `

Callers

nothing calls this directly

Implementers 3

CachedAnalyzerinternal/analyzer/analyzer.go
Analyzerinternal/engine/postgresql/analyzer/an
Analyzerinternal/engine/sqlite/analyzer/analyz

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected