MCPcopy Create free account
hub / github.com/bradfitz/go-sql-test / TestConnQueryCloseEarly

Function TestConnQueryCloseEarly

src/github.com/jackc/pgx/query_test.go:95–130  ·  view source on GitHub ↗

Test that a connection stays valid when query results are closed early

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

mustConnectFunction · 0.85
closeConnFunction · 0.85
ensureConnValidFunction · 0.85
QueryMethod · 0.65
CloseMethod · 0.65
FatalMethod · 0.65
ScanMethod · 0.65
NextMethod · 0.45

Tested by

no test coverage detected