Re: many-to-many query question
Re: many-to-many query question
- Subject: Re: many-to-many query question
- From: Chuck Hill <email@hidden>
- Date: Thu, 25 Oct 2007 17:48:58 -0700
On Oct 25, 2007, at 5:40 PM, James Cicenia wrote:
Hello -
I have a many-to-many relationship as such:
Portfolio --->>MetricGroups--->>MetricItems<----project_item----
>Project
How I can create a query where
project can have ( Items(a) OR Items(b) ) AND (Items(c))
or even
(items(a) or items(b) or ... items(x)) AND (items (c) or items(d))
AND (items(e))
well you get the picture.
I can seem to figure how to nest the "and" and "or" qualifiers to
get expected results.
Or, was there an EOQualifier extension someone wrote to handle such
a query?
I _think_ what you want is ExistsInRelationshipQualifier. Get it
from Pierre Bernard's Houdah WebObjects Frameworks (formerly from his
Qualifier Additions):
http://code.google.com/p/houdah-webobjects-frameworks/
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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