MCPcopy Create free account
hub / github.com/adlio/schema / QueryContext

Method QueryContext

errors_test.go:33–35  ·  view source on GitHub ↗
(ctx context.Context, sql string, args ...interface{})

Source from the content-addressed store, hash-verified

31}
32
33func (bq BadQueryer) QueryContext(ctx context.Context, sql string, args ...interface{}) (*sql.Rows, error) {
34 return nil, fmt.Errorf("FAIL: %s", strings.TrimSpace(sql))
35}
36
37// BadDB implements the interface for the *sql.DB Conn() method in a way that
38// always fails

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected