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

Method Exec

pgxpool/tx.go:69–71  ·  view source on GitHub ↗
(ctx context.Context, sql string, arguments ...any)

Source from the content-addressed store, hash-verified

67}
68
69func (tx *Tx) Exec(ctx context.Context, sql string, arguments ...any) (pgconn.CommandTag, error) {
70 return tx.t.Exec(ctx, sql, arguments...)
71}
72
73func (tx *Tx) Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error) {
74 return tx.t.Query(ctx, sql, args...)

Callers

nothing calls this directly

Implementers 3

dbTxtx.go
Txpgxpool/tx.go

Calls 1

ExecMethod · 0.65

Tested by

no test coverage detected