MCPcopy Create free account
hub / github.com/apecloud/myduckserver / DuckHandler

Struct DuckHandler

pgserver/duck_handler.go:82–88  ·  view source on GitHub ↗

DuckHandler is a handler uses DuckDB and the SQLe engine directly running Postgres specific queries.

Source from the content-addressed store, hash-verified

80// DuckHandler is a handler uses DuckDB and the SQLe engine directly
81// running Postgres specific queries.
82type DuckHandler struct {
83 e *sqle.Engine
84 sm *server.SessionManager
85 readTimeout time.Duration
86 encodeLoggedQuery bool
87 connectionHandler *ConnectionHandler
88}
89
90func (h *DuckHandler) SetConnectionHandler(handler *ConnectionHandler) {
91 h.connectionHandler = handler

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected