• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CoreData - how to retrieve a particular value (not object)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >CoreData - how to retrieve a particular value (not object) (From: T Reaves <email@hidden>)

  • Prev by Date: Action Button / Menu
  • Next by Date: Re: Interfacing PHP with Cocoa
  • Previous by thread: CoreData - how to retrieve a particular value (not object)
  • Next by thread: Re: CoreData - how to retrieve a particular value (not object)
  • Index(es):
    • Date
    • Thread