Re: Fetching from related object
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.