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

Method getRows

conn.go:629–641  ·  view source on GitHub ↗
(ctx context.Context, sql string, args []any)

Source from the content-addressed store, hash-verified

627}
628
629func (c *Conn) getRows(ctx context.Context, sql string, args []any) *baseRows {
630 r := &baseRows{}
631
632 r.ctx = ctx
633 r.queryTracer = c.queryTracer
634 r.typeMap = c.typeMap
635 r.startTime = time.Now()
636 r.sql = sql
637 r.args = args
638 r.conn = c
639
640 return r
641}
642
643type QueryExecMode int32
644

Callers 4

QueryMethod · 0.95
QueryMethod · 0.80
QueryMethod · 0.80
QueryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected