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

Method QueryRowContext

delete_ctx.go:61–64  ·  view source on GitHub ↗

QueryRowContext builds and QueryRowContexts the query with the Runner set by RunWith.

(ctx context.Context)

Source from the content-addressed store, hash-verified

59
60// QueryRowContext builds and QueryRowContexts the query with the Runner set by RunWith.
61func (b DeleteBuilder) QueryRowContext(ctx context.Context) RowScanner {
62 data := builder.GetStruct(b).(deleteData)
63 return data.QueryRowContext(ctx)
64}
65
66// ScanContext is a shortcut for QueryRowContext().Scan.
67func (b DeleteBuilder) ScanContext(ctx context.Context, dest ...interface{}) error {

Callers 1

ScanContextMethod · 0.95

Calls 1

QueryRowContextMethod · 0.65

Tested by

no test coverage detected