where method
The WHERE method allows defining a filter condition, which applies on the instances provided by the preceding subpath. The where method works the same way as the having method in OQL/SQL, with the only difference, the where() applies on the instances before the select operation, while having applies on the result of the select operation.
Usually, the filter condition is expressed as an expression, which is valid in the context of the preceding subpath, i.e. the expression may refer to any property defined in the structure passed to the where operation.
Generalisations: set method, OQL method
References
Related topics
- where - Precondition
- having - Post condition
- WHERE keyword
- HAVING keyword