Re: Single "query" on multiple attributes
Re: Single "query" on multiple attributes
- Subject: Re: Single "query" on multiple attributes
- From: Arturo PĂ©rez <email@hidden>
- Date: Sun, 11 Jul 2004 13:28:17 -0400
On Jul 11, 2004, at 1:09 PM, Steve Sharman wrote:
Dear all,
eg: if query1 is green, I'd like to return any objects that have
"green" stored in any of attributes type1, type2, type3.
Something like (pseudo code off the cuff);
qual1 = new EOKeyValueQualifier("type1",
EOQualifierOperator.OperatorEquals, value);
qual2 = new EOKeyValueQualifier("type2",
EOQualifierOperator.OperatorEquals, value);
qual3 = new EOKeyValueQualifier("type3",
EOQualifierOperator.OperatorEquals, value);
orClause = new EOOrQualifier(new NSArray (new Object[] { qual1, qual2,
qual3 } );
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
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.