• 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
To-Many qualifier question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

To-Many qualifier question


  • Subject: To-Many qualifier question
  • From: Ramsey Gurley <email@hidden>
  • Date: Wed, 14 Apr 2010 18:41:43 -0400

Hi all,

If I have a many-to-many relationship, for instance, between Rugs and Colors, and I have a list of colors, how do I construct a fetch that only returns rugs containing only those colors.

So, for example, given colors red, yellow, green, blue for my qualifier, a rug with red and yellow would match my qualifier, a rug with all four colors would match the qualifier, but a rug with red, yellow, green, blue, and purple would not match. Neither would a blue and purple rug.

I can do it in memory, but I was wondering if someone knew of a trick that would make this a simple fetch (^_^)

Thanks all,

Ramsey

_______________________________________________
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


  • Prev by Date: Re: Basic question - lightweight to-one relationship from entity to POJO/enum
  • Next by Date: Re: Basic question - lightweight to-one relationship from entity to POJO/enum
  • Previous by thread: Re: WebServerResources patternset
  • Next by thread: WOD to Inline
  • Index(es):
    • Date
    • Thread