Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlc-dev/sqlc
/ Search
Function
Search
internal/sql/astutils/search.go:17–21 ·
view source on GitHub ↗
(root ast.Node, f func(ast.Node) bool)
Source
from the content-addressed store, hash-verified
15
}
16
17
func
Search(root ast.Node, f
func
(ast.Node) bool) *ast.List {
18
ns := &nodeSearch{check: f, list: &ast.List{}}
19
Walk(ns, root)
20
return
ns.list
21
}
Callers
8
NamedParameters
Function · 0.92
validateBatch
Function · 0.92
sourceTables
Method · 0.92
expand
Method · 0.92
parseQuery
Method · 0.92
resolveCatalogRefs
Method · 0.92
hasStarAnywhere
Function · 0.92
hasStarInList
Function · 0.92
Calls
1
Walk
Function · 0.85
Tested by
no test coverage detected