Retrieving the distinct values of an attribute for a Core Data entity
Retrieving the distinct values of an attribute for a Core Data entity
- Subject: Retrieving the distinct values of an attribute for a Core Data entity
- From: "Jon C. Munson II" <email@hidden>
- Date: Fri, 13 Feb 2009 13:25:30 -0500
- Organization: JTA Enterprises LLC
Namaste!
I'm hoping someone can point me in the right direction for the following.
I'm not sure what search terms to use, so I was blindly groping around
before I wrote the list.
I need to retrieve the distinct values of a given attribute in a Core Data
entity.
In SQL, this is trivial: "SELECT column FROM table GROUP BY column;"
How is this accomplished in the Core Data context?
Many thanks in advance!
Peace, Love, and Light,
/s/ Jon C. Munson II
_______________________________________________
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