MCPcopy
hub / github.com/modelcontextprotocol/registry / Close

Method Close

internal/database/database.go:70–70  ·  view source on GitHub ↗

Close closes the database connection

()

Source from the content-addressed store, hash-verified

68 InTransaction(ctx context.Context, fn func(ctx context.Context, tx pgx.Tx) error) error
69 // Close closes the database connection
70 Close() error
71}
72
73// InTransactionT is a generic helper that wraps InTransaction for functions returning a value

Callers 15

fetchFromHTTPFunction · 0.65
NewTestDBFunction · 0.65
getAppliedMigrationsMethod · 0.65
ListServersMethod · 0.65
SetAllVersionsStatusMethod · 0.65
CloseMethod · 0.65
ValidateMCPBFunction · 0.65
ValidateNPMFunction · 0.65

Implementers 1

PostgreSQLinternal/database/postgres.go

Calls

no outgoing calls