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

Method Query

server/executor.go:110–116  ·  view source on GitHub ↗
(query string, args ...any)

Source from the content-addressed store, hash-verified

108}
109
110func (e *PinnedExecutor) Query(query string, args ...any) (RowSet, error) {
111 rows, err := e.conn.QueryContext(context.Background(), query, args...)
112 if err != nil {
113 return nil, err
114 }
115 return &LocalRowSet{rows: rows}, nil
116}
117
118func (e *PinnedExecutor) Exec(query string, args ...any) (ExecResult, error) {
119 return e.conn.ExecContext(context.Background(), query, args...)

Callers

nothing calls this directly

Calls 1

QueryContextMethod · 0.65

Tested by

no test coverage detected