Greetings.

i'm trying to set a predicate to query some deep object in my model.
my model is as so.

member is part of a category
the category has a name.


while in a member resultset i want to filter the content on category names.

[NSPredicate predicateWithFormat:@"(caregory.name IN %@)",[selections 
objectForKey:kPredicateFieldNamesArray]];         

I crash with:
'unimplemented SQL generation for predicate : (caregory.name IN {"Boutiques"})'

I've otherwise tried:
[NSPredicate predicateWithFormat:@"(carego...@name IN %@)",[selections 
objectForKey:kPredicateFieldNamesArray]];                
'Unsupported KVC aggregate in keypath: carego...@name'

Am I missing something?
I thought KVC was part of the Predicates.

any pointers are welcome.
Sandro_______________________________________________

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