Re: Convenience functions in model classes
Re: Convenience functions in model classes
- Subject: Re: Convenience functions in model classes
- From: Mike Schrag <email@hidden>
- Date: Sat, 5 Apr 2008 12:28:43 -0400
Remember that every call of this method goes into the database. That
will kill your app.
Better fetch all Games in memory and order them into an
NSArray(NSAray()) and use that.
If he's using the stock velocity templates, this will only fault the
games(..) array once, and each successive call will just filter with
the provided qualifier. If he called games(EOQualifier, true) it
would refetch every time.
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