EXPRESSION Object
- Last UpdatedMar 24, 2023
- 1 minute read
This object is used to define a basic expression that can be applied against a database element or another object and return any data typed result, for example, BOOLEAN, STRING, REAL.
EXPRESSION objects may be used by COLLECTION objects to filter the results of the collection.
Methods
|
Name |
Result |
Purpose |
|---|---|---|
|
Expression |
Constructor (initializes all the object’s settings). |
|
|
Expression (STRING) |
Constructs and defines the expression. ('ATTRIBUTE----') should be used for attributes for speed and efficiency. Other examples are ('PURP eq IPIPINGI') or ('XLEN + STRING(XLEN)'). |
|
|
AttributeExpression (STRING) |
Makes the passed attribute an expression. AttributeExpression ('LENGTH') is the same as Expression ('ATTRIBUTE LENGTH'). |
|
|
String() |
STRING |
Returns the current expression as a STRING. |
|
Evaluate(DBREF) |
ANY |
Evaluates the current Expression against the passed object. |