• 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
EOQualifier or...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOQualifier or...?


  • Subject: EOQualifier or...?
  • From: John Ours <email@hidden>
  • Date: Wed, 22 Apr 2009 18:21:22 -0400

I have a situation where I have an entity "Item" that is related to many "Picture" items. I'm trying to fetch all "Items" that have no related "Pictures"...in sql I would write a query like:

SELECT * FROM Item i
LEFT JOIN Picture p ON i.id = p.itemID
WHERE p.id is null

In other words I'd like to select all where Item.pictures.count == 0. What's the easiest / best / most correct way to do this with EO?

Thanks!

John


_______________________________________________ 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: EOQualifier or...?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Zero dates "0000-00-00"
  • Next by Date: Re: CLOB and WO 5.4.3
  • Previous by thread: Re: Rapid Turnaround with Project Builder??
  • Next by thread: Re: EOQualifier or...?
  • Index(es):
    • Date
    • Thread