• 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
Fetch problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fetch problem...


  • Subject: Fetch problem...
  • From: "Oliver Leu" <email@hidden>
  • Date: Mon, 17 Mar 2003 23:23:26 +0100

Dear friends

I try to describe my problem:
I have two tables:

Classes
Themes

Every Classes-Row can have many records in the 'Themes' entity.

Fetch:
I wanna fetch all Themes where parentTheme is 'null' AND classesFID Key
matches to a specified Classes Object:

User choosed an Object from that table:
********
*Classes *
********
********
* classID*
********


I wanna fetch from this table:
************
*Themes         *
************
************
*themesID      *
************
*parentTheme *
************
*classesFID   *
************
My best try :-):

argsTheme = new NSMutableArray();

argsTheme.addObject(NSKeyValueCoding.NullValue);
argsTheme.addObject("Thema.klasse");
argsTheme.addObject(wholeClassArrayItem.klassenName());

EOQualifier qual = EOQualifier.qualifierWithQualifierFormat("parentTheme =
%@
    AND %@ = %@", argsTheme);
EOFetchSpecification fsThem = new EOFetchSpecification("Thema", qual, null);

themesCorelated2ClassesArray = (NSMutableArray)
ec.objectsWithFetchSpecification(fsThem);


Thanks a lot for your help

Oliver Leu
_______________________________________________
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.

  • Prev by Date: Re: exception page losing exception?
  • Next by Date: NSLog
  • Previous by thread: Context URL - Returning to a results page URL
  • Next by thread: NSLog
  • Index(es):
    • Date
    • Thread