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

Method Scan

server/conn_querylog_lifecycle_test.go:228–236  ·  view source on GitHub ↗
(dest ...any)

Source from the content-addressed store, hash-verified

226 body := append([]byte("p1"), 0)
227 body = append(body, 0, 0, 0, 0)
228
229 c.handleExecute(body)
230 assertLifecyclePair(t, buf, "handleExecute-Exec")
231}
232
233// streamingRowSet is a fake RowSet that yields a fixed number of single-column
234// string rows. Used to drive executeSelectQuery past the rows.Next() gate so
235// the test can exercise mid-stream wire-write failures.
236type streamingRowSet struct {
237 rows [][]any
238 idx int
239 cols []string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected