AutoIncrementColumn Class
Describe how to evaluate the value of a column before posting it
Item Index
Methods
customFunction
-
r -
columnName -
conn
Optional custom function to be called to evaluate the maximum value
Returns:
getExpression
-
r
gets the expression to be used for retrieving the max
Parameters:
Returns:
getSelector
-
r
evaluates the function to filter selector on a specified row and column
Parameters:
Returns:
Properties
[idLen=0]
Number
for string id, the len of the evaluated max. It is not the overall size of the evaluated id, because a prefix and a middle const might be present If idLen = 0 and there is no prefix, the field is assumed to be a number, otherwise a 0 prefixed string-number
[linearField=false]
Boolean
Indicates that numbering does NOT depend on prefix value, I.e. is linear in every section of the calculated field
[selector]
String[]
Array of column names of selector fields. The max() is evaluating filtering the values of those fields
[selectorMask]
Number[]
Array of bit mask to use for comparing selector. If present, only corresponding bits will be compared, i.e. instead of sel=value it will be compared (sel & mask) = value
