Using the RelBuilder API, I’d like to get a field by alias & name without having to keep track of the inputCount. I’ve found that the following always seems to work fine (after making stack a public variable):
builder.field(builder.stack.count(), “MYALIAS”, “myfield”) My question: why does RelBuilder.field(String, String) use an inputCount of 1 instead of the size of the stack? Doing so would allow people to search for field names without having to keep track of the number of inputs. I understand why accessing fields by index require the inputCount and inputOrdinal, but searching for fields by name could just scan the entire stack and return the first matching field name + alias.
