MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / getTableGuides

Function getTableGuides

dgraph/cmd/migrate/table_guide.go:260–273  ·  view source on GitHub ↗
(tables map[string]*sqlTable)

Source from the content-addressed store, hash-verified

258}
259
260func getTableGuides(tables map[string]*sqlTable) map[string]*tableGuide {
261 tableGuides := make(map[string]*tableGuide)
262 for table, tableInfo := range tables {
263 guide := &tableGuide{
264 blankNode: getBlankNodeGen(tableInfo),
265 valuesRecorder: &fkValuesRecorder{
266 refToBlank: make(map[string]string),
267 },
268 }
269
270 tableGuides[table] = guide
271 }
272 return tableGuides
273}

Callers 1

runFunction · 0.85

Calls 1

getBlankNodeGenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…