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

Method Query

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

Source from the content-addressed store, hash-verified

48}
49
50func (e *LocalExecutor) Query(query string, args ...any) (RowSet, error) {
51 rows, err := e.db.Query(query, args...)
52 if err != nil {
53 return nil, err
54 }
55 return &LocalRowSet{rows: rows}, nil
56}
57
58func (e *LocalExecutor) Exec(query string, args ...any) (ExecResult, error) {
59 return e.db.Exec(query, args...)

Callers

nothing calls this directly

Calls 1

QueryMethod · 0.65

Tested by

no test coverage detected