• 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
EOQualifiers (concatenation)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOQualifiers (concatenation)


  • Subject: EOQualifiers (concatenation)
  • From: Theodore Petrosky <email@hidden>
  • Date: Tue, 11 May 2010 09:48:34 -0700 (PDT)

EOQualifier theSearchQualifier0 = ERXQ.is("hasChildren", hasChild);
EOQualifier theSearchQualifier1 = ERXQ.is("isComplete", includeClosedJobs);
EOQualifier theSearchQualifier2 = ERXQ.contains("jobDescription", this.theDescString);

I have these three qualifiers... If I use them separately, they work exactly as expected.

How can I add them together to form 1 qualifier to give to the fetch?

what I want to end up with is:

EOQualifier theSearchQualifier = ERXQ.and(ERXQ.contains("jobDescription", this.theDescString), ERXQ.is("isComplete", includeClosedJobs), ERXQ.is("hasChildren", hasChild));

Ted




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: EOQualifiers (concatenation)
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Problem saving to a BLOB field after switching to ORACLE 11g driver
  • Next by Date: Re: EOQualifiers (concatenation)
  • Previous by thread: Re: Problem saving to a BLOB field after switching to ORACLE 11g driver
  • Next by thread: Re: EOQualifiers (concatenation)
  • Index(es):
    • Date
    • Thread