MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / Analyze

Method Analyze

pkg/advisor/optimizer.go:113–113  ·  view source on GitHub ↗

Analyze inspects a single statement and returns suggestions.

(stmt ast.Statement)

Source from the content-addressed store, hash-verified

111
112 // Analyze inspects a single statement and returns suggestions.
113 Analyze(stmt ast.Statement) []Suggestion
114}
115
116// Optimizer analyzes parsed SQL ASTs and produces optimization suggestions.

Callers 3

TestAnalyzeNilASTFunction · 0.65
AnalyzeMethod · 0.65
analyzeWithRuleFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestAnalyzeNilASTFunction · 0.52
analyzeWithRuleFunction · 0.52