MCPcopy Create free account
hub / github.com/araddon/qlbridge / FindAllIdentityField

Function FindAllIdentityField

expr/node.go:353–355  ·  view source on GitHub ↗

FindAllIdentityField Recursively descend down a node looking for all Identity Fields min(year) == {year} eq(min(user.name), max(month)) == {user.name, month}

(node Node)

Source from the content-addressed store, hash-verified

351// eq(min(user.name), max(month)) == {user.name, month}
352//
353func FindAllIdentityField(node Node) []string {
354 return findIdentities(node, nil).Strings()
355}
356
357// FindAllLeftIdentityFields Recursively descend down a node looking for all
358// LEFT Identity Fields

Callers 3

TestIdentityNamesFunction · 0.92
IsLiteralMethod · 0.92
RewriteSelectFunction · 0.92

Calls 2

findIdentitiesFunction · 0.85
StringsMethod · 0.45

Tested by 1

TestIdentityNamesFunction · 0.74