Re: path to filter a relationship
Re: path to filter a relationship
- Subject: Re: path to filter a relationship
- From: Alexander Spohr <email@hidden>
- Date: Tue, 06 Sep 2011 17:29:26 +0200
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