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 protected]> 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 protected]> wrote: >> >> what about the primary key? it is unique to the EO. >> >> >>> On Dec 8, 2013, at 12:44 PM, Ken Anderson <[email protected]> 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 protected]> 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 protected]> 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 protected]) >>>>> Help/Unsubscribe/Update your Subscription: >>>>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com >>>>> >>>>> This email sent to [email protected] >> > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
