Re: EOQualifier Question
Re: EOQualifier Question
- Subject: Re: EOQualifier Question
- From: James Cicenia <email@hidden>
- Date: Wed, 24 Mar 2004 15:23:25 -0600
I am not doing this qualifier against the sql but against the array
from a relationship..
Does that relationship follow the key paths?
NSMutableArray results =
(NSMutableArray) EOQualifier.filteredArrayWithQualifier(
portfolio.projects(),andQualifier);
or does it have to be a fetch?
-James
On Mar 24, 2004, at 2:00 PM, arturo wrote:
> I do this sort of thing often. I think your problem is that first
> addObject.
>
> What I do is create a EOKeyValueQualifier. I almost never use
> qualifierWithQualifierFormat because my qualifications tend to "too
> specific." By that I mean I don't need the flexibility of qWQF.
>
> -arturo
>
> ----- Original Message -----
> From: "James Cicenia" <email@hidden>
> To: "WOdev List List" <email@hidden>
> Sent: Wednesday, March 24, 2004 2:17 PM
> Subject: EOQualifier Question
>
>
>> I have a relationship like so:
>>
>> project -->> rostermembers <<--> resource <--> user
>>
>> should this work?:
>>
>> args.addObject("rosterMembers.resource.tosuser");
>> args.addObject(thisUser);
>> myQualifier3 = EOQualifier.qualifierWithQualifierFormat("%@ = %@",
>> args);
>>
>> I can't seem to get this qualifier to work..
>> Wondering if this is actually possible to find those projects?
>>
>> -James
>> _______________________________________________
>> webobjects-dev mailing list | email@hidden
>> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>> Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.