Re: Array, dictionary and set in EOF
Re: Array, dictionary and set in EOF
- Subject: Re: Array, dictionary and set in EOF
- From: DevReseune <email@hidden>
- Date: Wed, 26 Nov 2003 00:52:46 +0100
Visit Hibernate to undestand my point of view. The order is not your
order, but the order of the database.
Frederic
Le 25 nov. 03, ` 19:50, Thomas a icrit :
The result of the fetch is not unordered. It is ordered in whatever
way the database decides to present it.
NSArray is always ordered.
I know that doesn't help you, but I thought I'd point that out...
On 25/11/2003, at 19:16, DevReseune wrote:
Ok. Perhaps (surely) my englsih is worst than I think it is. Sorry.
So, for example, you have an entity Folder that contains many
Documents.
Folder (1)----------(*) Document
But, you want to manage by hand the order of the list of documents.
With EOF, you can access to a NSArray of Documents in Folder.This
array is populated with the result of a SQL query, that returns an
unordered list of Documents.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.