Re: seemingly simple Core Data fetch question
Re: seemingly simple Core Data fetch question
- Subject: Re: seemingly simple Core Data fetch question
- From: Conor <email@hidden>
- Date: Wed, 29 Aug 2007 09:38:54 +0200
> @"(myCompanyCar == NIL) AND department == <a specific department>".
You are headed down the right path:
[NSPredicate predicateWithFormat: @"myCompanyCar == NIL AND department ==
%@", theDepartment];
Or
[NSPredicate predicateWithFormat: @"self IN %@ AND myCompanyCar == NIL",
[theDepartment employees]];
Conor
http://www.bruji.com/
_______________________________________________
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