• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best way to update relationships on fetch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Best way to update relationships on fetch (From: Ray Ackland <email@hidden>)

  • Prev by Date: Re: Best way to update relationships on fetch
  • Next by Date: Re: Can't build application
  • Previous by thread: Re: Best way to update relationships on fetch
  • Next by thread: RE: Announcements list (was Grumbling McCreyekes)
  • Index(es):
    • Date
    • Thread