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

Method QueryRow

batch.go:388–391  ·  view source on GitHub ↗

QueryRow reads the results from the next query in the batch as if the query has been sent with QueryRow.

()

Source from the content-addressed store, hash-verified

386
387// QueryRow reads the results from the next query in the batch as if the query has been sent with QueryRow.
388func (br *pipelineBatchResults) QueryRow() Row {
389 rows, _ := br.Query()
390 return (*connRow)(rows.(*baseRows))
391}
392
393// Close closes the batch operation. Any error that occurred during a batch operation may have made it impossible to
394// resyncronize the connection with the server. In this case the underlying connection will have been closed.

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.95

Tested by

no test coverage detected