MCPcopy
hub / github.com/jackc/pgx / Query

Method Query

pgxpool/conn.go:89–91  ·  view source on GitHub ↗
(ctx context.Context, sql string, args ...any)

Source from the content-addressed store, hash-verified

87}
88
89func (c *Conn) Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error) {
90 return c.Conn().Query(ctx, sql, args...)
91}
92
93func (c *Conn) QueryRow(ctx context.Context, sql string, args ...any) pgx.Row {
94 return c.Conn().QueryRow(ctx, sql, args...)

Callers

nothing calls this directly

Calls 2

ConnMethod · 0.95
QueryMethod · 0.65

Tested by

no test coverage detected