MCPcopy
hub / github.com/Masterminds/squirrel / ScanContext

Method ScanContext

select_ctx.go:67–69  ·  view source on GitHub ↗

ScanContext is a shortcut for QueryRowContext().Scan.

(ctx context.Context, dest ...interface{})

Source from the content-addressed store, hash-verified

65
66// ScanContext is a shortcut for QueryRowContext().Scan.
67func (b SelectBuilder) ScanContext(ctx context.Context, dest ...interface{}) error {
68 return b.QueryRowContext(ctx).Scan(dest...)
69}

Callers

nothing calls this directly

Calls 2

QueryRowContextMethod · 0.95
ScanMethod · 0.65

Tested by

no test coverage detected