Operators and Functions¶
DomEL provides the following operators, listed in order of precedence. Operators higher in this list are evaluated before operators lower in the list:
Operator |
Syntax |
Description |
|---|---|---|
multiply, divide |
|
Arithmetic operators for numeric types only. |
percent |
|
Calculates i as a percent of j; numeric types only. |
add, subtract |
|
Arithmetic operators for numeric types only. |
equal |
|
Comparison operators for string, numeric, and date types. |
not equal |
|
|
less than |
|
Comparison operators for numeric and date types only. |
less than or equal |
|
|
greater than |
|
|
greater than or equal |
|
|
IN set |
|
Sets can be of any type. |
IN range |
|
Ranges must be numeric or date types. |
NOT |
|
Boolean operators. Parentheses are required for |
AND |
|
|
OR |
|
|
parentheses |
|
Used for grouping. |
DomEL also defines the following operations as functions.
Function |
Syntax |
Description |
|---|---|---|
startsWith |
|
Comparison operators for strings. |
endsWith |
|
|
contains |
|
|
concat |
|
Returns the string of all parameters concatenated. |
Additional functions are supported in Ad Hoc views.