• 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: Fetching Relation Empty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Fetching Relation Empty
      • From: "Daniele Corti" <email@hidden>
References: 
 >Fetching Relation Empty (From: "Daniele Corti" <email@hidden>)

  • Prev by Date: Re: Deep hierarchical search
  • Next by Date: Re: Book on Web Objects
  • Previous by thread: Re: Book on Web Objects
  • Next by thread: Re: Fetching Relation Empty
  • Index(es):
    • Date
    • Thread