• 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
multiple value in fetchspec's qualifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multiple value in fetchspec's qualifier


  • Subject: multiple value in fetchspec's qualifier
  • From: Pierre Bernard <email@hidden>
  • Date: Mon, 28 Jun 2004 19:50:48 -0700

Hi,

I got a fetchspec in EOModel that has a qualifier (usercode =
$usercode), i placed the desired usercode into my NSMutableDictionary
and
call
EOFetchSpecification.fetchSpecificationNamed("fetchByCode","user"); in
order to have a fetch spec that complete this statement,
for example usercode = 1

If i would like to fetch usercode 1,2,3 how can i assign all these
value to my NSMutableDictionary? I tried to use NSArray inside
the dictionary but failed. And ultimately, what i need is a fetch spec
that returns values based on my qualifiers(with an array of value).

You need to use an EOOrQualifier. Your best guess is creating that within your code.


Alternatively you might want to use InSetQualifier from http://homepage.mac.com/I_love_my/webobjects.html

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


  • Prev by Date: Re: Off Topic : WWDC Birds of Feather
  • Next by Date: Re: specifying number of rows to fetch
  • Previous by thread: multiple value in fetchspec's qualifier
  • Next by thread: Bringing WOFramed Popup Window To Front
  • Index(es):
    • Date
    • Thread