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.

<nice> Please leave the Z_PK alone. It is not the column you are looking for. </nice>

This is unsupported with extreme prejudice.  Extreme.  Prejudice.

You really ought to file a bug report for group by queries. Nobody has asked for them, hence no feature.

Working within the public API, there is nothing stopping you from creating your own unique ID field, like a UUID, and retrieving the results with an IN query against your attribute.

- Ben

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to