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: T Reaves <email@hidden>
- Date: Fri, 27 May 2005 21:04:19 -0400
On May 27, 2005, at 7:39 PM, Shawn Erickson wrote:
On May 27, 2005, at 4: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.
Or change the schema to actually model the groupings you are
attempting to achieve.
You presume there is a way to effectively do so. So, where
possible, a model should mirror groupings. With my situation, the
groupings are transient and variable. So there is no practical way
to have the model reflect the groupings.
_______________________________________________
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