They are noted in the NSExpression.h header with API to create them and a 
comment to their functionality.

- Ben

> Is the use of SUBQUERY() documented anywhere?  The only mention I've seen of 
> it is in the reserved keywords section of the Predicate Format String Syntax 
> guide.
> 
> Dave
> 
> On Apr 2, 2010, at 3:42 PM, Ben Trumbull wrote:
> 
>>      NSComparisonPredicate* exprPred = (NSComparisonPredicate*)[NSPredicate 
>> predicateWithFormat:@"SUBQUERY(self, $key, %...@.$key != nil) == 0", obj];
>>      NSExpression* expr = [exprPred leftExpression];
>>      NSLog(@"expression subquery results = %@", [expr 
>> expressionValueWithObject:keys context:nil]);

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to