• 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
Fetching the next child object [NEWBIE]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fetching the next child object [NEWBIE]


  • Subject: Fetching the next child object [NEWBIE]
  • From: Goodbye Bill <email@hidden>
  • Date: Fri, 27 Jun 2003 01:52:52 -0400

Is it possible to fetch the next child object without having to re-specify
parameters of the parent object?

DETAILS:
1. I have three objects in my database that have a parent-child
relationship.  For now, let's say they are:

    Musician
        Album
            Song

2. I have fetched a specific "Musician" object using an EOFetchSpecification
and have that object loaded in memory;

3. I would like to simply get a single Album by specifying the "Title."

WHERE I AM:
The only way I can figure to do this is pull the ID of the Musician object
and then use an AndQualifier with the "Title" AND the "ID" of the parent
musician.

I know there must be a better (and simpler) way.  Any examples would be
greatly appreciated.  Please remember, I'm coming from a Microsoft/SQL
environment so it may simply be natural for me to stray back there.

Thanks, in advance.  =S
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Fetching the next child object [NEWBIE]
      • From: Chuck Hill <email@hidden>
    • Re: Fetching the next child object [NEWBIE]
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: WebObjects on Linux
  • Next by Date: Re: Fetching the next child object [NEWBIE]
  • Previous by thread: Re: WebObjects on Linux
  • Next by thread: Re: Fetching the next child object [NEWBIE]
  • Index(es):
    • Date
    • Thread