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

Struct LocalExecutor

server/executor.go:24–26  ·  view source on GitHub ↗

LocalExecutor wraps *sql.DB to implement QueryExecutor for local DuckDB access.

Source from the content-addressed store, hash-verified

22
23// LocalExecutor wraps *sql.DB to implement QueryExecutor for local DuckDB access.
24type LocalExecutor struct {
25 db *sql.DB
26}
27
28// NewLocalExecutor creates a new LocalExecutor wrapping the given *sql.DB.
29func NewLocalExecutor(db *sql.DB) *LocalExecutor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected