Re: Struggling with qualifiers involving sets
Re: Struggling with qualifiers involving sets
- Subject: Re: Struggling with qualifiers involving sets
- From: Art Isbell <email@hidden>
- Date: Sun, 3 Aug 2003 12:23:28 -1000
On Sunday, August 3, 2003, at 01:39 AM, Kaj Hejer wrote:
At 20:24 +1200 03-08-2003, Denis Stanton wrote:
I want to read a table of Vehicles and select all those that have
Types matching a list that the user has selected.
You might take a look at ERXInQualifier from ProjectWonder. See
http://wonder.sourceforge.net/javadoc/er/extensions/
ERXInQualifier.html and http://wonder.sourceforge.net/
Or you could just use EOOrQualifier since an "IN" qualifier is a short
cut for "OR"ing several qualifiers. You could merely iterate through
the list of types you want to qualify for adding a regular EOQualifier
to an NSMutableArray on each iteration. Then you can use that
NSMutableArray as an argument to the EOOrQualifier constructor to
produce the qualifier you need.
Aloha,
Art
_______________________________________________
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.