Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multiple value in fetchspec's qualifier



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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.