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

Method Rules

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

Rules returns the list of rules configured for this optimizer.

()

Source from the content-addressed store, hash-verified

138
139// Rules returns the list of rules configured for this optimizer.
140func (o *Optimizer) Rules() []Rule {
141 return o.rules
142}
143
144// Analyze inspects all statements in the given AST and returns an OptimizationResult.
145//

Callers 1

TestNewWithCustomRulesFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestNewWithCustomRulesFunction · 0.36