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      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
> 
> This email sent to webobje...@avendasora.com
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to