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

Method ConnContext

server/query_source_test.go:119–121  ·  view source on GitHub ↗
(context.Context)

Source from the content-addressed store, hash-verified

117// *bytes.Buffer holds the flushed output after handleQuery.
118func newBufferedConn(exec QueryExecutor) (*clientConn, *bytes.Buffer) {
119 clientSide, serverSide := net.Pipe()
120 // The pipe halves are only needed so bufio has something to wrap; the test
121 // reads the flushed buffer, not the pipe. Closed by the caller via t.Cleanup.
122 _ = serverSide
123 var out bytes.Buffer
124 c := &clientConn{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected