re: CoreData _PK NSManagedObject

2008-09-17 Thread Ben Trumbull
does somebody know a way to retrieve a NSManagedObject (whose db has already been saved) if I know its _PK in sqlite ? [snip] The result gives me the Z_PK of objects. This Z_PK is the index in the db. NSManagedObject does not accept "_PK" key. Please leave the Z_PK alone. It is not the col

CoreData _PK NSManagedObject

2008-09-17 Thread Camille GOUREAU-SUIGNARD
Hi, does somebody know a way to retrieve a NSManagedObject (whose db has already been saved) if I know its _PK in sqlite ? I use sqlite3 queries whose result I would like to fetch within a cocoa app. And I know no way of getting "group by" queries within CoreData. The result gives me the