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

Method Query

pgxpool/tx.go:73–75  ·  view source on GitHub ↗
(ctx context.Context, sql string, args ...any)

Source from the content-addressed store, hash-verified

71}
72
73func (tx *Tx) Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error) {
74 return tx.t.Query(ctx, sql, args...)
75}
76
77func (tx *Tx) QueryRow(ctx context.Context, sql string, args ...any) pgx.Row {
78 return tx.t.QueryRow(ctx, sql, args...)

Callers

nothing calls this directly

Implementers 3

dbTxtx.go
Txpgxpool/tx.go

Calls 1

QueryMethod · 0.65

Tested by

no test coverage detected