Re: CoreData - how to retrieve a particular value (not object)
Re: CoreData - how to retrieve a particular value (not object)
- Subject: Re: CoreData - how to retrieve a particular value (not object)
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 27 May 2005 14:11:34 -0700
On May 27, 2005, at 1:44 PM, T Reaves wrote:
If I have object Foo with a variable bar (a string) as an
NSManagedObject, is it possible to run a fetch request /query
(something) to return a set of all values of bar?
No.
Why I want to do this is I want to execute a fetch request to
retrieve all instance of Foo where bar == someValue.
If that's all you want to do, why do you need to find all values of bar?
If you do want unique values for bar, then you can fetch all Foos and
use @distinctUnionOfObjects.bar...
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden