MCPcopy
hub / github.com/jackc/pgx

github.com/jackc/pgx @v5.10.0 sqlite

4,400 symbols 17,044 edges 286 files 1,166 documented

Extension points exported contracts — how you extend this code

QueryTracer (Interface)
QueryTracer traces Query, QueryRow, and Exec. [6 implementers]
tracer.go
Row (Interface)
Row is a convenience wrapper over [Rows] that is returned by [Conn.QueryRow]. Row is an interface instead of a struct t [216 impl
rows.go
CopyFromSource (Interface)
CopyFromSource is the interface used by [Conn.CopyFrom] as the source for copy data. [11 implementers]
copy_from.go
Message (Interface)
Message is the interface implemented by an object that can decode and encode a particular PostgreSQL message. [49 implementers]
pgproto3/pgproto3.go
Codec (Interface)
A Codec converts between Go and PostgreSQL values. A Codec must not be mutated after it is registered with a [Map]. [41 implemente
pgtype/pgtype.go
CompositeIndexGetter (Interface)
CompositeIndexGetter is a type accessed by index that can be converted into a PostgreSQL composite. [5 implementers]
pgtype/composite.go
BatchResults (Interface)
(no doc) [7 implementers]
batch.go
AcquireTracer (Interface)
AcquireTracer traces Acquire. [4 implementers]
pgxpool/tracer.go

Core symbols highest fan-in

Close
called by 364
rows.go
Scan
called by 278
rows.go
Exec
called by 215
tx.go
Scan
called by 205
pgtype/pgtype.go
QueryRow
called by 183
tx.go
Err
called by 170
rows.go

Shape

Method 2,140
Function 1,349
Struct 686
TypeAlias 105
Interface 97
FuncType 23

Dependencies from manifests, versioned

github.com/davecgh/go-spewv1.1.1 · 1×
github.com/jackc/pgpassfilev1.0.0 · 1×
github.com/jackc/pgservicefilev0.0.0-2024060612052 · 1×
github.com/jackc/puddle/v2v2.2.2 · 1×
github.com/kr/prettyv0.3.0 · 1×
github.com/pmezard/go-difflibv1.0.0 · 1×
github.com/stretchr/testifyv1.11.1 · 1×
golang.org/x/syncv0.17.0 · 1×
golang.org/x/textv0.29.0 · 1×
gopkg.in/check.v1v1.0.0-2020113013444 · 1×
gopkg.in/yaml.v3v3.0.1 · 1×

Datastores touched

mydbDatabase · 1 repos
pgx_testDatabase · 1 repos
curlydbDatabase · 1 repos
database_nameDatabase · 1 repos
dbDatabase · 1 repos
db_nameDatabase · 1 repos
fooDatabase · 1 repos

For agents

$ claude mcp add pgx \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact