MCPcopy Index your code
hub / github.com/bytebase/bytebase / NewManager

Function NewManager

backend/component/sheet/sheet.go:47–51  ·  view source on GitHub ↗

NewManager creates a new sheet manager.

()

Source from the content-addressed store, hash-verified

45
46// NewManager creates a new sheet manager.
47func NewManager() *Manager {
48 return &Manager{
49 statementCache: lru.NewLRU[astHashKey, *StatementResult](8, nil, 3*time.Minute),
50 }
51}
52
53// StatementResult holds the cached parsing results with the unified ParsedStatement type.
54type StatementResult struct {

Calls

no outgoing calls