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

Struct plainAttachRunner

server/attach_timeout.go:204–204  ·  view source on GitHub ↗

plainAttachRunner adapts *sql.DB to attachSQLRunner with no deadlines (legacy behavior for non-attach callers).

Source from the content-addressed store, hash-verified

202// plainAttachRunner adapts *sql.DB to attachSQLRunner with no deadlines
203// (legacy behavior for non-attach callers).
204type plainAttachRunner struct{ db *sql.DB }
205
206func (p plainAttachRunner) Exec(query string, args ...any) (sql.Result, error) {
207 return p.db.Exec(query, args...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected