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

Method HasLeftRight

expr/node.go:1137–1139  ·  view source on GitHub ↗

HasLeftRight Return bool if is of form `table.column` or `schema`.`table`

()

Source from the content-addressed store, hash-verified

1135
1136// HasLeftRight Return bool if is of form `table.column` or `schema`.`table`
1137func (m *IdentityNode) HasLeftRight() bool {
1138 return m.left != ""
1139}
1140
1141// Return left, right values if is of form `table.column` or `schema`.`table` and
1142// also return true/false for if it even has left & right syntax

Callers 5

ExprMethod · 0.95
fieldTypeFunction · 0.80
fieldTypeFunction · 0.80
fieldValueTypeFunction · 0.80
walkIdentityFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected