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

Interface Row

rows.go:79–84  ·  rows.go::Row

Row is a convenience wrapper over [Rows] that is returned by [Conn.QueryRow]. Row is an interface instead of a struct to allow tests to mock QueryRow. However, adding a method to an interface is technically a breaking change. Because of this the Row interface is partially excluded from semantic ver

Source from the content-addressed store, hash-verified

77// the Row interface is partially excluded from semantic version requirements.
78// Methods will not be removed or changed, but new methods may be added.
79type Row interface {
80 // Scan works the same as Rows. with the following exceptions. If no
81 // rows were found it returns ErrNoRows. If multiple rows are returned it
82 // ignores all but the first.
83 Scan(dest ...any) error
84}
85
86// RowScanner scans an entire row at a time into the RowScanner.
87type RowScanner interface {

Callers 8

TestTraceQueryFunction · 0.65
TestTraceBatchNormalFunction · 0.65
TestCrateDBConnectFunction · 0.65
TestConnectFunction · 0.65
TestPrepareFunction · 0.65
TestPrepareIdempotencyFunction · 0.65

Implementers 15

baseRowsrows.go
errRowspgxpool/rows.go
errRowpgxpool/rows.go
poolRowspgxpool/rows.go
poolRowpgxpool/rows.go
Float8pgtype/float8.go

Calls

no outgoing calls

Tested by

no test coverage detected