MCPcopy Index your code
hub / github.com/modelcontextprotocol/registry / PostgreSQL

Struct PostgreSQL

internal/database/postgres.go:21–23  ·  view source on GitHub ↗

PostgreSQL is an implementation of the Database interface using PostgreSQL

Source from the content-addressed store, hash-verified

19
20// PostgreSQL is an implementation of the Database interface using PostgreSQL
21type PostgreSQL struct {
22 pool *pgxpool.Pool
23}
24
25// Executor is an interface for executing queries (satisfied by both pgx.Tx and pgxpool.Pool)
26type Executor interface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected