• 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 through relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qualifier through relationship


  • Subject: Re: Qualifier through relationship
  • From: David Avendasora <email@hidden>
  • Date: Thu, 3 Dec 2009 06:16:11 -0500

On Dec 3, 2009, at 5:30 AM, Riccardo De Menna wrote:

> Hi,
>
> How do I build a fetch specification that qualifies objects based on the content of relationship and not an attribute?
>
> In other words let's say I want all the records from the 'Book' entity that have an 'author' relationship to a specific record in the 'Author' entity.

Just create a qualifier that matches the object.

If you are using Wonder:

EOQualifier qual = Book.AUTHOR.eq(author);

Dave

>
> Riccardo De Menna
>
> _______________________________________________
> 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
>
>

David Avendasora
Senior Software Engineer
K12, Inc.

*****
WebObjects Documentation Wiki : http://wiki.objectstyle.org/confluence/display/WO/
*****
WebObjects API: http://developer.apple.com/legacy/mac/library/documentation/MacOSXServer/Reference/WO54_Reference/index.html
*****

 _______________________________________________
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

References: 
 >Qualifier through relationship (From: Riccardo De Menna <email@hidden>)

  • Prev by Date: Re: Qualifier through relationship
  • Next by Date: Re: Qualifier through relationship
  • Previous by thread: Re: Qualifier through relationship
  • Next by thread: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]
  • Index(es):
    • Date
    • Thread