Re: Qualifier through relationship
Re: Qualifier through relationship
- Subject: Re: Qualifier through relationship
- From: David Avendasora <email@hidden>
- Date: Thu, 3 Dec 2009 09:15:23 -0500
On Dec 3, 2009, at 9:09 AM, Kieran Kelleher wrote:
> ERXKey ...... how did we ever live without it! :-)
I don't know what you'd call it, but it sure wasn't living. :-)
Dave
>
> On Dec 3, 2009, at 8:45 AM, David Avendasora wrote:
>
>>
>> On Dec 3, 2009, at 6:25 AM, Riccardo De Menna wrote:
>>
>>> Ok ok... I suck at writing examples as I incorrectly explained myself.
>>>
>>> The relationship is a toMany so... rewording my request:
>>>
>>> I want all the records from the 'Book' entity that have an 'authors' relationship that CONTAINS a specific record coming form the 'Author' entity.
>>
>> Again, with WOnder:
>>
>> EOQualifier qualifier = Book.AUTHORS.containsObject(author);
>>
>> http://webobjects.mdimension.com/hudson/job/Wonder53/javadoc/er/extensions/eof/ERXKey.html
>>
>> Dave
>>
>>>
>>> rdm
>>>
>>>
>>> On 03/dic/2009, at 12.10, Stefan Klein wrote:
>>>
>>>> Hi,
>>>>
>>>> new EOKeyValueQualifier(_Book.AUTHOR, EOQualifier.QualifierOperatorEqual, author)
>>>>
>>>> EOF is doing the rest
>>>>
>>>> Stefan
>>>>
>>>> Riccardo De Menna schrieb:
>>>>> Hi,
>>>>>
>>>>> How do I build a fetch specification that qualifies objects based on the content of relationship and not an attribute?
>>>>>
>>>>> In other words let's say I want all the records from the 'Book' entity that have an 'author' relationship to a specific record in the 'Author' entity.
>>>>>
>>>>> Riccardo De Menna
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>
>>>
>>>
>>
>> David Avendasora
>> Senior Software Engineer
>> K12, Inc.
>>
>> *****
>> WebObjects Documentation Wiki : http://wiki.objectstyle.org/confluence/display/WO/
>> *****
>> WebObjects API: http://developer.apple.com/legacy/mac/library/documentation/MacOSXServer/Reference/WO54_Reference/index.html
>> *****
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
>
>
David Avendasora
Senior Software Engineer
K12, Inc.
*****
WebObjects Documentation Wiki : http://wiki.objectstyle.org/confluence/display/WO/
*****
WebObjects API: http://developer.apple.com/legacy/mac/library/documentation/MacOSXServer/Reference/WO54_Reference/index.html
*****
_______________________________________________
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