• 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: qualifier to check for empty toMany
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qualifier to check for empty toMany


  • Subject: Re: qualifier to check for empty toMany
  • From: John Huss <email@hidden>
  • Date: Wed, 11 May 2011 17:00:25 -0500

I think you can do this with ERXExistsQualifier and a Not qualifier.

John

On Wed, May 11, 2011 at 4:29 PM, Fred Wells <email@hidden> wrote:
Hey all,
Maybe I missed something but is there a way to construct a qualifier that check that a toMany relationship is empty? Simply putting in "toMany =%@, new NSArray(new Object[] {NSKeyValueCoding.NullValue}doesn't do it because it tries to check across the join table which results in no objects being found.

-fw
 _______________________________________________
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: qualifier to check for empty toMany
      • From: Alexis Tual <email@hidden>
References: 
 >qualifier to check for empty toMany (From: Fred Wells <email@hidden>)

  • Prev by Date: qualifier to check for empty toMany
  • Next by Date: Re: qualifier to check for empty toMany
  • Previous by thread: qualifier to check for empty toMany
  • Next by thread: Re: qualifier to check for empty toMany
  • Index(es):
    • Date
    • Thread