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

Method QueryRowContext

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

Source from the content-addressed store, hash-verified

234}
235
236func (pag *paginator) QueryRowContext(ctx context.Context) (*sql.Row, error) {
237 pq, err := pag.buildWithCursor()
238 if err != nil {
239 return nil, err
240 }
241 return pq.sel.QueryRowContext(ctx)
242}
243
244func (pag *paginator) Prepare() (*sql.Stmt, error) {
245 pq, err := pag.buildWithCursor()

Callers

nothing calls this directly

Calls 2

buildWithCursorMethod · 0.95
QueryRowContextMethod · 0.65

Tested by

no test coverage detected