• 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: Fetching from related object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fetching from related object


  • Subject: Re: Fetching from related object
  • From: Randall Perry <email@hidden>
  • Date: Mon, 03 May 2004 20:11:23 -0400

on 4/26/04 4:04 PM, Arturo Pirez at email@hidden wrote:

>
> BTW, in a relatively unrelated aside, did you look at
> EOUtilities.objectMatchingValues.  It's a bit easier then writing that
> fetchspec.
Am playing with this now. But given related EOModeler objects CustView and
Log joined on custNo, how do I do a join given an existing CustView object?

NSMutableDictionary dictionary = new NSMutableDictionary();
dictionary.takeValueForKey(custNo, ???);
dictionary.takeValueForKey(dateOneYearAgo, "dateTime");
logInfo = EOUtilities.objectsMatchingValues(ec, "Log", (NSDictionary)
dictionary);


--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/
_______________________________________________
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 from related object
      • From: Arturo PĂ©rez <email@hidden>
  • Prev by Date: Problems trying to build an "Edit Relationship" page
  • Next by Date: Re: Fetching from related object
  • Previous by thread: Re: Problems trying to build an "Edit Relationship" page
  • Next by thread: Re: Fetching from related object
  • Index(es):
    • Date
    • Thread