• 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: DisplayGroup Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DisplayGroup Question


  • Subject: Re: DisplayGroup Question
  • From: Art Isbell <email@hidden>
  • Date: Tue, 1 Jul 2003 15:30:14 -1000

On Tuesday, July 1, 2003, at 03:20  PM, Reid Bundonis wrote:

And George, the displayedObjects() binding did the trick. That is odd. I've always use allObjects() and never paid any attention to displayedObjects(). In about two sentences, can you define the difference, other than one supports a sort and one does not.

Ah, good hint to the answer. allObjects() contains all objects fetched. So if a fetch spec was used and it specified sorting, the sorting would be done on the DB with allObjects() containing the objects specified in the order specified.


displayedObjects() contains allObjects() filtered by any local qualifier, sort order, etc. So the display group config panel in WOBuilder must apply a local sort ordering; i.e., sorting is done on the DB client, not on the DB server.

If performance is an issue, sorting on the DB server may be faster than on the DB client. But at least you have an option of sorting on either system.

Aloha,
Art
_______________________________________________
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.

  • Prev by Date: Re: DisplayGroup Question
  • Next by Date: I can't find the playback manager
  • Previous by thread: Re: DisplayGroup Question
  • Next by thread: Thanks to you...
  • Index(es):
    • Date
    • Thread