Versions Compared
Version | Old Version 5 | New Version 6 |
---|---|---|
Changes made by | Former user |
Former user |
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
These BIFs can be used to build up a complex selector for reading sets of data from the persistence layer. These BIFs are accessed via the pseudo unit with the same name as the object that is being queried eg. “Person” or “Car”
Type | Description |
---|---|
all | Simple all |
equals | Equality |
empty | Determine whether a variable is empty |
between | Select a range of data between two values |
lessThanOrEqual | Less or equals check |
lessThan | Check if value is less than the value being compared to |
greaterThan | Check if value is greater than the value being compared to |
attributeIn | Attribute In |
relationshipIn | Relationship In |
contains | Check is collection has element(s) |
beginsWith | Begin with |
endsWith | End with |
notEquals | Not Equals |
notEmpty | Not empty |
notBetween | Not between the data or elements |
notContains | Collection does not contain element(s) |
notBeginWith | Not begin with |
notEndsWith | Check if value does not end with value being compared to |
notAttributeIn | Attribute not in the given domain |
notRelationshipIn | Use to check for relationship |
union | Union |
diff | Use to check for differences |
intersect | Intersect |
and | And (in most cases, use this rather than intersect) |
These BIFs perform operations on single persistent entities. They are accessed via a method call on a variable holding an object instance or on the pseudo unit with the same name as the object that the method is being performed on
Data Subsets
Having populated a collection with a selector BIF, you can further refine your selection by assigning a subset of said collection to a new collection by using the select
BIF. This BIF is available via the collection variable and takes one or a combination of the above selector BIFs as parameter. See the Collections for details.
Additional Mentions and References
Excerpt | ||
---|---|---|
| ||
|