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

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.


  • Follow-Ups:
    • Re: FetchSpec seems to ignore qualifier
      • From: Art Isbell <email@hidden>
    • Re: FetchSpec seems to ignore qualifier
      • From: David Griffith <email@hidden>
References: 
 >Re: figuring out if to-many is fault: _EOCheapCopyMutableArray (From: Jonathan Rochkind <email@hidden>)

  • Prev by Date: Re: figuring out if to-many is fault: _EOCheapCopyMutableArray
  • Next by Date: Re: FetchSpec seems to ignore qualifier
  • Previous by thread: Re: figuring out if to-many is fault: _EOCheapCopyMutableArray
  • Next by thread: Re: FetchSpec seems to ignore qualifier
  • Index(es):
    • Date
    • Thread