Re: setting default order of entity fetches
Re: setting default order of entity fetches
- Subject: Re: setting default order of entity fetches
- From: Mike Schrag <email@hidden>
- Date: Fri, 24 Aug 2007 13:30:38 -0400
To many relationships probably should have been implemented as
NSSet not NSArray. Properly they are sets and using NSArray
deludes people into thinking it really is an ordered list. I'd
guess that they used NSArray to avoid the NSSet overhead of
verifying that an object is not in the set before adding it.
Almost all of EOF and WO should be NSSet instead of NSArray. The
vast majority of API that returns an array doesn't really mean it.
If you look at the EOF model stack impl in WOLips, you'll notice it's
all Set, and it makes the API a lot more clear.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden