Re: Fetching Relation Empty
Re: Fetching Relation Empty
- Subject: Re: Fetching Relation Empty
- From: "Daniele Corti" <email@hidden>
- Date: Mon, 24 Sep 2007 14:42:44 +0200
2007/9/21, Chuck Hill <email@hidden>:
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.
Thank you Chuck! Do you know if there are some Examples for the use of these Qualifiers?
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 (
> 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
--
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:
This email sent to email@hidden