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

Struct emptyExecResult

server/conn_querylog_lifecycle_test.go:80–80  ·  view source on GitHub ↗

emptyExecResult is an ExecResult that reports 0 rows affected — sufficient for these tests, which assert lifecycle log presence not row-count math.

Source from the content-addressed store, hash-verified

78
79// emptyExecResult is an ExecResult that reports 0 rows affected — sufficient
80// for these tests, which assert lifecycle log presence not row-count math.
81type emptyExecResult struct{}
82
83func (emptyExecResult) RowsAffected() (int64, error) { return 0, nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected