Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ NewGraph
Function
NewGraph
backend/plugin/parser/base/topo_sort.go:9–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
)
8
9
func
NewGraph() *Graph {
10
return
&Graph{
11
NodeMap: make(
map
[string]*Node),
12
}
13
}
14
15
type
Graph
struct
{
16
NodeMap
map
[string]*Node
Callers
9
GetDatabaseDefinition
Function · 0.92
dropViewsInOrder
Function · 0.92
createTablesInOrder
Function · 0.92
createViewsInOrder
Function · 0.92
sortTablesByDependenciesAcrossSchemas
Function · 0.92
sortViewsByDependenciesAcrossSchemas
Function · 0.92
writeDropDependentObjects
Function · 0.92
writeCreateTables
Function · 0.92
writeCreateRoutinesViewsAndMaterializedViews
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected