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

Method QueryRow

batch.go:215–218  ·  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

213
214// QueryRow reads the results from the next query in the batch as if the query has been sent with QueryRow.
215func (br *batchResults) QueryRow() Row {
216 rows, _ := br.Query()
217 return (*connRow)(rows.(*baseRows))
218}
219
220// Close closes the batch operation. Any error that occurred during a batch operation may have made it impossible to
221// 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