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

Method Close

server/executor.go:131–133  ·  view source on GitHub ↗

Close returns the pinned connection to the pool; it does not close the underlying DB.

()

Source from the content-addressed store, hash-verified

129
130// Close returns the pinned connection to the pool; it does not close the underlying DB.
131func (e *PinnedExecutor) Close() error {
132 return e.conn.Close()
133}
134
135func (e *PinnedExecutor) LastProfilingOutput() string {
136 data, err := os.ReadFile("/tmp/duckgres-profiling.json")

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected