• 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: T Reaves <email@hidden>
  • Date: Fri, 27 May 2005 21:06:42 -0400


On May 27, 2005, at 7:32 PM, mmalcolm crawford wrote:


On May 27, 2005, at 4:22 PM, T Reaves wrote:


I have the fetch request. What I was wanting to do is to call the fetch request once with each unique value of bar, so that I could group them that way for an NSOutlineView.


You almost certainly shouldn't do that. You should simply execute one fetch request to retrieve all the data you want, and then filter appropriately in memory.


I had reached the conclusion after reading the docs that this is what I would have to do. I just wanted to check to see if I was missing something.


When you say that I shouldn't do it the way I wanted to, what reasons do you have? Because the API does not effectively support it, or something else?


_______________________________________________ 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
  • Follow-Ups:
    • Re: CoreData - how to retrieve a particular value (not object)
      • From: mmalcolm crawford <email@hidden>
References: 
 >CoreData - how to retrieve a particular value (not object) (From: T Reaves <email@hidden>)
 >Re: CoreData - how to retrieve a particular value (not object) (From: Rick Ballard <email@hidden>)
 >Re: CoreData - how to retrieve a particular value (not object) (From: T Reaves <email@hidden>)
 >Re: CoreData - how to retrieve a particular value (not object) (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: CoreData - how to retrieve a particular value (not object)
  • Next by Date: Re: CoreData - how to retrieve a particular value (not object)
  • Previous by thread: Re: 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