• 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: Qualifier against target entity?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qualifier against target entity?


  • Subject: Re: Qualifier against target entity?
  • From: Jesse Tayler <email@hidden>
  • Date: Sun, 08 Dec 2013 13:48:54 -0500

I think those all ultimately depend on the primaryKey()  which I think can return an array of keys but otherwise is your way to get that likely integer number you’re using

of course sometimes we have another key used to search and sort since primary keys are really for our friend the database - but you would have had to have added that yourself so this is the only thing I can think of.



On Dec 8, 2013, at 1:41 PM, Ken Anderson <email@hidden> wrote:

> Of course, but not a class property...  I swear there was a way to say:
>
> Student != EO
>
> But maybe I'm just senile :)
>
>> On Dec 8, 2013, at 1:27 PM, Theodore Petrosky <email@hidden> wrote:
>>
>> what about the primary key? it is unique to the EO.
>>
>>
>>> On Dec 8, 2013, at 12:44 PM, Ken Anderson <email@hidden> wrote:
>>>
>>> No, I already have an EO I want to exclude...  Not an attribute of an EO.
>>>
>>>> On Dec 8, 2013, at 12:39 PM, Theodore Petrosky <email@hidden> wrote:
>>>>
>>>> Student.STUDENT_LAST_NAME.notIn("Smith")
>>>>
>>>> from what I see there is:    "in", "notIn", "inObjects", "noInObjects"
>>>>
>>>> is this what you are looking for?
>>>>
>>>>
>>>>
>>>>
>>>>> On Dec 7, 2013, at 11:01 PM, Ken Anderson <email@hidden> wrote:
>>>>>
>>>>> All,
>>>>>
>>>>> I know I’ve done this before, but I do it seldom enough that I can’t remember.  I want to create a qualifier to select a bunch of objects but to exclude one of the objects that might match the qualifier:
>>>>>
>>>>> Give me all the Students where grade > 80 and Student is not “Joe Smith”
>>>>>
>>>>> How do I do that again?  and is there any special whizzy wonder ERX Key to do it?
>>>>>
>>>>> Thanks,
>>>>> Ken
>>>>> _______________________________________________
>>>>> 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


 _______________________________________________
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


References: 
 >Qualifier against target entity? (From: Ken Anderson <email@hidden>)
 >Re: Qualifier against target entity? (From: Theodore Petrosky <email@hidden>)
 >Re: Qualifier against target entity? (From: Ken Anderson <email@hidden>)
 >Re: Qualifier against target entity? (From: Theodore Petrosky <email@hidden>)
 >Re: Qualifier against target entity? (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: Qualifier against target entity?
  • Next by Date: Re: java.lang.IllegalStateException: Trying to check out a session twice in one RR loop
  • Previous by thread: Re: Qualifier against target entity?
  • Next by thread: Re: Qualifier against target entity?
  • Index(es):
    • Date
    • Thread