Re: path to filter a relationship
Re: path to filter a relationship
- Subject: Re: path to filter a relationship
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 06 Sep 2011 09:20:09 -0700 (PDT)
thanks, thanks,
that was perfect. Sometimes I just go nuts.
Ted
--- On Tue, 9/6/11, Alexander Spohr <email@hidden> wrote:
> From: Alexander Spohr <email@hidden>
> Subject: Re: path to filter a relationship
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> Date: Tuesday, September 6, 2011, 11:29 AM
>
> Am 06.09.2011 um 16:07 schrieb Theodore Petrosky:
>
> > maybe i am thinking way too hard on this.
>
> Yes.
>
> instead of using the complete list like this
> > list =
> theEmploymentTitle.employees;
>
> make a method filteredEmployees() that
>
> return
> theEmploymentTitle.employees(Employee.EMPLOYMENT_STATUS.dot(EmploymentStatus.IS_CURRENT).eq(true));
>
> list = filteredEmployees;
>
> atze
>
>
>
_______________________________________________
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