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

Method Read

bench_test.go:1352–1356  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

1350}
1351
1352func (qr *queryRecorder) Read(b []byte) (n int, err error) {
1353 n, err = qr.conn.Read(b)
1354 qr.readCount += n
1355 return n, err
1356}
1357
1358func (qr *queryRecorder) Write(b []byte) (n int, err error) {
1359 qr.writeBuf = append(qr.writeBuf, b...)

Callers 5

execParamsMethod · 0.45
execPreparedMethod · 0.45
execSQLParamsMethod · 0.45
testLargeObjectsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected