Type Method

expressionForAggregate:

Returns a new aggregate expression for a given collection.

Declaration

+ (NSExpression *)expressionForAggregate:(NSArray<NSExpression *> *)subexpressions;

Parameters

collection

A collection object (an instance of NSArray, NSSet, or NSDictionary) that contains further expressions.

Return Value

A new expression that contains the expressions in collection.

See Also

Creating a Collection Expression

+ expressionForUnionSet:with:

Returns a new NSExpression object that represent the union of a given set and collection.

+ expressionForIntersectSet:with:

Returns a new NSExpression object that represent the intersection of a given set and collection.

+ expressionForMinusSet:with:

Returns a new NSExpression object that represent the subtraction of a given collection from a given set.