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

Method QueryContext

update_ctx.go:55–58  ·  view source on GitHub ↗

QueryContext builds and QueryContexts the query with the Runner set by RunWith.

(ctx context.Context)

Source from the content-addressed store, hash-verified

53
54// QueryContext builds and QueryContexts the query with the Runner set by RunWith.
55func (b UpdateBuilder) QueryContext(ctx context.Context) (*sql.Rows, error) {
56 data := builder.GetStruct(b).(updateData)
57 return data.QueryContext(ctx)
58}
59
60// QueryRowContext builds and QueryRowContexts the query with the Runner set by RunWith.
61func (b UpdateBuilder) QueryRowContext(ctx context.Context) RowScanner {

Callers

nothing calls this directly

Calls 1

QueryContextMethod · 0.65

Tested by

no test coverage detected