FetchSpec seems to ignore qualifier
FetchSpec seems to ignore qualifier
- Subject: FetchSpec seems to ignore qualifier
- From: David Griffith <email@hidden>
- Date: Thu, 04 Mar 2004 00:23:37 +0100
HI all,
There is a fetchSpec in Language which is:
LangName = $langName
I have the following code:
EOFetchSpecification fs = new EOFetchSpecification();
fs = fs.fetchSpecificationNamed("getLanguageFromString",
"Language");
NSMutableDictionary dictionary = new NSMutableDictionary();
dictionary.takeValueForKey(languageName, "langName");
fs = fs.fetchSpecificationWithQualifierBindings(dictionary);
NSMutableArray languages= new
NSMutableArray(ec.objectsWithFetchSpecification(fs));
Can anyone tell me why I am getting all records instead of the matching
ones?
Regards,
Dave.
_______________________________________________
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.