• 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: modeling question for a to-many relationship subset.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modeling question for a to-many relationship subset.


  • Subject: Re: modeling question for a to-many relationship subset.
  • From: David Avendasora <email@hidden>
  • Date: Wed, 4 Aug 2010 09:56:33 -0500

Until you see that it is a performance issue (don't spend time optimizing until something is proven to be a bottleneck) I would simply use the eogenerated method:

so if you have this relationship Conference ->> Session

on an instance of Conference use:

sessions(IS_LAB.isTrue());

Very simple, easy to read and WO will take care of using caches and such if available.

Dave

On Aug 3, 2010, at 2:20 PM, James Cicenia wrote:

> I have a to-many relationship.
> The destination object has a simple boolean.
>
> What is the best/fastest/freshest way to retrieve a subset depending on the boolean?
>
> a) Filter the relationship in memory?
> b) do a fetch?
> c) Create another "vertical" relationship?
> d) A View?
> 3) other?
>
> thanks
> James _______________________________________________
> 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
>
>

 _______________________________________________
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

References: 
 >modeling question for a to-many relationship subset. (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Suggestions for best deployment?
  • Next by Date: Re: two different databases at same time?
  • Previous by thread: modeling question for a to-many relationship subset.
  • Next by thread: Re: two different databases at same time?
  • Index(es):
    • Date
    • Thread