ERXArrayUtilities.FetchSpecOperator Class Reference
Inherits
er::extensions::foundation::ERXArrayUtilities::BaseOperator.
List of all members.
Detailed Description
Define an
NSArray.Operator for the key
fetchSpec.
This allows for key value paths like:
myArray.valueForKey("@fetchSpec.fetchUsers");
Which in this case would return myArray filtered and sorted by the EOFetchSpecification named "fetchUsers" which must be a model-based fetchspec in the first object's entity.
- See also:
- BaseOperator
Constructor & Destructor Documentation
Member Function Documentation
| Object compute |
( |
NSArray<?> |
array, |
|
|
String |
keypath | |
|
) |
| | |
Filters and sorts the given array by the named fetchspecification.
- Parameters:
-
| array | array to be filtered. |
| keypath | name of fetch specification. |
- Returns:
- immutable filtered array.
The documentation for this class was generated from the following file: