MCPcopy Create free account
hub / github.com/PostHog/duckgres / QueryContext

Method QueryContext

server/sessionmeta/sessionmeta_test.go:18–23  ·  view source on GitHub ↗
(_ context.Context, _ string, _ ...any)

Source from the content-addressed store, hash-verified

16 queryRows sqlcore.RowSet
17}
18
19func (e *countingExecutor) QueryContext(_ context.Context, _ string, _ ...any) (sqlcore.RowSet, error) {
20 e.queryCalls++
21 if e.queryRows == nil {
22 return nil, errors.New("no query rows configured")
23 }
24 return e.queryRows, nil
25}
26

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected