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

Struct fkValuesRecorder

dgraph/cmd/migrate/table_guide.go:84–86  ·  view source on GitHub ↗

for a given SQL row, the fkValuesRecorder records mappings from its foreign key target columns to the blank node of the row

Source from the content-addressed store, hash-verified

82// for a given SQL row, the fkValuesRecorder records mappings from its foreign key target columns to
83// the blank node of the row
84type fkValuesRecorder struct {
85 refToBlank map[string]string
86}
87
88func (r *fkValuesRecorder) getBlankNode(indexLabel string) string {
89 return r.refToBlank[indexLabel]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected