• 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: path to filter a relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: path to filter a relationship
      • From: Theodore Petrosky <email@hidden>
References: 
 >path to filter a relationship (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: App doesn't use the deployment db parameters but the model?
  • Next by Date: Re: WOBrowser Error java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • Previous by thread: path to filter a relationship
  • Next by thread: Re: path to filter a relationship
  • Index(es):
    • Date
    • Thread