• 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
Building a qualifier with ERXKey.between(startDate, endDate)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building a qualifier with ERXKey.between(startDate, endDate)


  • Subject: Building a qualifier with ERXKey.between(startDate, endDate)
  • From: "Ruggentaler, JR" <email@hidden>
  • Date: Wed, 24 Jun 2015 14:53:15 +0000
  • Thread-topic: Building a qualifier with ERXKey.between(startDate, endDate)

Why does the ERXKey.between() method return a EOQualifier and most of the other ERXKey methods return a chain-able ERX<something>Qualifier?

I am trying to do something like:

EOQualifier qual = Foo.START_DATE.between(startDate, endDate)

     .and(Bar.DATE_DELETED.isNull());


instead of:


EOQualifier qual = Foo.START_DATE.greaterThanOrEqualTo(startDate)

    .and(Foo.START_DATE.lessThanOrEqualTo(endDate))

.and(Bar.DATE_DELETED.isNull());


Is there another method like ERXKey.between() that return a chain-able ERXQualifier?


JR

 _______________________________________________
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: Building a qualifier with ERXKey.between(startDate, endDate)
      • From: Theodore Petrosky <email@hidden>
  • Prev by Date: Re: Eclipse version?
  • Next by Date: Re: Building a qualifier with ERXKey.between(startDate, endDate)
  • Previous by thread: Re: Eclipse 4.5 (Mars) and wolips
  • Next by thread: Re: Building a qualifier with ERXKey.between(startDate, endDate)
  • Index(es):
    • Date
    • Thread