• 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: FetchSpec seems to ignore qualifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FetchSpec seems to ignore qualifier


  • Subject: Re: FetchSpec seems to ignore qualifier
  • From: David Griffith <email@hidden>
  • Date: Thu, 04 Mar 2004 01:20:51 +0100

Just tired I guess :-(  After a while I noticed a spelling error in the
fetchSpec - langName was misspelled langname.

Dave.

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


References: 
 >FetchSpec seems to ignore qualifier (From: David Griffith <email@hidden>)

  • Prev by Date: FetchSpec seems to ignore qualifier
  • Next by Date: Document Root on Win 2 K Box
  • Previous by thread: FetchSpec seems to ignore qualifier
  • Next by thread: Re: FetchSpec seems to ignore qualifier
  • Index(es):
    • Date
    • Thread