Hi G, That works if keyword was a single attribute to User.
However, in my case "keyword" is many. (e.g. user.keywords() returns NSArray<Keyword>) Doing that generates an sql : SELECT t0.id FROM User t0 WHERE t0.id is NULL which is quite wrong. And yes I'm using WOnder. Amiel On Thu, Dec 3, 2009 at 4:45 PM, Gustavo Pizano <[email protected]>wrote: > MM I think it should be something like... assuming you are using wonder > > > EOQualifier qual = User.TO_KEYWORD.eq(null); > NSArray<User> array = User.fetchUser(ec,qual,sortOrdering); > > correct me if im wrong. > > > G. > > > On Dec 3, 2009, at 7:33 AM, Amiel Montecillo wrote: > > > Hello, > > > > This may be a simple but it is really beating me up. > > > > I have a one-to-many relationship User to many Keyword > > > > What I need is the qualifier to get only a list of users without a single > keyword. I know that I can just do users.keywords().count == 0 but I don't > want that. > > > > Can someone please beat some sense into me? > > > > Thanks, > > Amiel > > > > -- > > socket error: unable to connect to 127.0.0.1 > > _______________________________________________ > > Do not post admin requests to the list. They will be ignored. > > Webobjects-dev mailing list ([email protected]) > > Help/Unsubscribe/Update your Subscription: > > > http://lists.apple.com/mailman/options/webobjects-dev/webobjectspicora%40gmail.com > > > > This email sent to [email protected] > > -- socket error: unable to connect to 127.0.0.1
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
