Re: CoreData issue
Re: CoreData issue
- Subject: Re: CoreData issue
- From: David Emme <email@hidden>
- Date: Thu, 7 Sep 2006 05:34:13 -0700
On Sep 7, 2006, at 5:13 AM, Patrick Perroud wrote:
I just need to fetch the oiginal data in its original unsorted order.
In a relational database (I know, CoreData is not a database, but it
sometimes plays one on TV), there is by definition no such thing as
the "original data *in its original unsorted order*". I found that
out using MySQL, where I wrote data into a temp table in the desired
order, then when I fetched it the order of the result was not what I
had written!
Moral of the story: if you need the data in a certain order, you must
arrange for field(s) and sorting to obtain that order. You cannot
rely on retrieving the data in the order you wrote it.
HTH,
-Dave
--
I started out with nothing, and I still have most of it.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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