Re: Best way to update relationships on fetch
Re: Best way to update relationships on fetch
- Subject: Re: Best way to update relationships on fetch
- From: Arturo PĂ©rez <email@hidden>
- Date: Sun, 12 Oct 2003 18:00:18 -0400
On Sunday, October 12, 2003, at 05:29 PM, Ray Ackland wrote:
Note: I am just counting the records which match the criteria. There
may be an easier way than fetching and counting the resulting NSArray.
Would it be more efficient to fetch all client objects and do
in-memory manipulation? If I did this, would I be able to use custom
methods (ie ageNow) in a qualifier?
Ah! I missed that part. Depending on your database you may just want
to use views to achieve this.
Another alternative which I think might work is to have a pseudo-entity
with a derived column that
does this for you. The view is a slightly nicer alternative as it
avoids any non-EOF-generated SQL
in your application.
Then again, didn't you also say that each user gets to manipulate the
criteria for the different
groupings?
-------
WebObjects in Philadelphia. You want a cheesesteak with that?
Visit http://webobjects.meetup.com
_______________________________________________
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.