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

Method ExecContext

server/conn_test.go:1445–1451  ·  view source on GitHub ↗
(_ context.Context, query string, _ ...any)

Source from the content-addressed store, hash-verified

1443 return &staticCountRowSet{count: 1}, nil
1444}
1445
1446func (e *abortedSelectRecoveryExecutor) ExecContext(_ context.Context, query string, _ ...any) (ExecResult, error) {
1447 if strings.TrimSpace(strings.ToUpper(query)) == "ROLLBACK" {
1448 e.rollbackCalls++
1449 return &fakeExecResult{}, nil
1450 }
1451 return nil, errors.New("not implemented")
1452}
1453
1454func (e *abortedSelectRecoveryExecutor) Query(string, ...any) (RowSet, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected