Count-preserving and group value expressions share many of the properties of transforms.[3] Scalar value expressions can be used as simple set-expressions, as well as with value operators. The available value expressions are listed including the context in which they may be applied.
Here, a group-context value expression is used as a transform to change the set of methods in a class to the count of the number of methods in the class:
count methods in class "ObjectDB"
Here, the group-context value expression is converted into a count-preserving value expression with the group of operator, and that is compared with a scalar expression (a numeric constant) with a relational operator to make a filter that is applied to the set expression.
( count of ( arguments of ) > 1 ) methods in class "ObjectDB"
[3] Some value expressions were transforms in previous releases of the language; they can still be used as transforms, and also used with value-expression specific operators.
browse-by-query home | antlersoft free software | sourceforge project page |