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

Method DB

server/executor.go:94–96  ·  view source on GitHub ↗

DB returns the underlying *sql.DB (for credential refresh and other direct access).

()

Source from the content-addressed store, hash-verified

92
93// DB returns the underlying *sql.DB (for credential refresh and other direct access).
94func (e *PinnedExecutor) DB() *sql.DB {
95 return e.db
96}
97
98func (e *PinnedExecutor) QueryContext(ctx context.Context, query string, args ...any) (RowSet, error) {
99 rows, err := e.conn.QueryContext(ctx, query, args...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected