Re: count of a to-many relationship in an NSPredicate
Re: count of a to-many relationship in an NSPredicate
- Subject: Re: count of a to-many relationship in an NSPredicate
- From: Charles Steinman <email@hidden>
- Date: Sun, 9 Sep 2007 10:14:23 -0700 (PDT)
--- Gonzalo Castro <email@hidden> wrote:
> I also see a array[SIZE] in the Aggregate Operations
> section but, again, no example of syntax or context.
Put the keypath to an array with the word "[SIZE]"
appended to it and that expression with evaluate to
the size of the array. In your case, it would be
something along the lines of "employees[SIZE] = 0".
Cheers,
Chuck
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden