Re: Fetching Relation Empty
Re: Fetching Relation Empty
- Subject: Re: Fetching Relation Empty
- From: Chuck Hill <email@hidden>
- Date: Fri, 21 Sep 2007 13:25:23 -0700
See Pierre Bernards excellent "Qualifiers Additions" at http://
www.bernard-web.com/pierre/webobjects/code.html
I think the ExistsInRelationshipQualifier is the one you want for this.
Chuck
On Sep 20, 2007, at 5:57 AM, Daniele Corti wrote:
Hi all,
I was looking for a way to fetch an object that have empty
relations using EOQualifiers
I used this qualifier:
keyValueQualifier = new EOKeyValueQualifier("activations",
EOQualifier.QualifierOperatorEqual , EOEnterpriseObject.NullValue);
but it doesn't seem to work. activations is a toMany relation of
the fetched object
--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden
--
Computers are like air conditioners -- they stop working properly
if you open
WINDOWS
--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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