In memory you can sort by "rawPrimaryKey" For a fetch spec, even if PK is not exposed as a class property, you can still use it in a sort ordering.
On Apr 11, 2012, at 10:29 PM, Ken Anderson wrote: > Is there a way to sort a fetch result by primary key? I just need to access > the latest object (order desc). > > Ken Anderson > [email protected] > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
