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

Function FindAllLeftIdentityFields

expr/node.go:363–365  ·  view source on GitHub ↗

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

(node Node)

Source from the content-addressed store, hash-verified

361// eq(min(user.name), max(month)) == {user, month}
362//
363func FindAllLeftIdentityFields(node Node) []string {
364 return findIdentities(node, nil).LeftStrings()
365}
366
367// FindAllIdentities gets all identity
368func FindAllIdentities(node Node) IdentityNodes {

Callers 1

TestIdentityNamesFunction · 0.92

Calls 2

findIdentitiesFunction · 0.85
LeftStringsMethod · 0.80

Tested by 1

TestIdentityNamesFunction · 0.74