• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Single "query" on multiple attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Single "query" on multiple attributes (From: Steve Sharman <email@hidden>)

  • Prev by Date: Single "query" on multiple attributes
  • Next by Date: Re: Single "query" on multiple attributes
  • Previous by thread: Single "query" on multiple attributes
  • Next by thread: Re: Single "query" on multiple attributes
  • Index(es):
    • Date
    • Thread