Hi Experts,
i'm strugeling around with an (i think so) easy problem: What is the right way to make an Qualifier (for a Fetch-Specification in EOModeler) to not search with just one single Object, but with a list of objects:
 
For example this model:
 
        1 Car-Brand produces many Cars (e.g. VW procudes Jetta, Golf, Passat, etc.)
 
If i want to search all Cars for "VW" my qualifier looks something like: 
 
        brand = $carBrand   ... (eg. Car.fetchForList(ec, brandVW);)
 
But was is the correct way to search for a list of brands? e.g: What is the correct way to search for all Cars of "VW", "Audi", etc.?
 
I know that it is possible to search something like this:
 
        brand = $carBrand1 or brand = $carBrand2, etc.             (e.g. Car.fetchForList(ec, brandVW, brandAudi, etc.);).
 
But this is not the best way?
 
Thank you,
 
Daniel
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to