MCPcopy Index your code
hub / github.com/upper/db / QueryContext

Method QueryContext

internal/sqlbuilder/paginate.go:220–226  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

218}
219
220func (pag *paginator) QueryContext(ctx context.Context) (*sql.Rows, error) {
221 pq, err := pag.buildWithCursor()
222 if err != nil {
223 return nil, err
224 }
225 return pq.sel.QueryContext(ctx)
226}
227
228func (pag *paginator) QueryRow() (*sql.Row, error) {
229 pq, err := pag.buildWithCursor()

Callers

nothing calls this directly

Calls 2

buildWithCursorMethod · 0.95
QueryContextMethod · 0.65

Tested by

no test coverage detected