multiple value in fetchspec's qualifier
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.