• 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
In-memory EOQualifier evaluation and to-many relations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

In-memory EOQualifier evaluation and to-many relations


  • Subject: In-memory EOQualifier evaluation and to-many relations
  • From: Fabian Peters <email@hidden>
  • Date: Thu, 19 Sep 2013 18:36:47 +0200

Hi all,

I just tried to write a unit test for a basic qualifying fetch spec. What I found is that the in-memory evaluation fails for key-paths with a to-many, e.g. this:

  EOQualifier q = Course.EVENTS.dot(CourseEvent.END_DATE_TIME.after(new NSTimestamp()));

Debugging the qualifier evaluation, I see that the timestamp gets directly compared to an array of timestamps and thus the qualifier never matches.

Having looked through some old code, I seem to never have used an in-memory evaluation on a to-many key-path. But somehow I assumed it should be possible. Wishful thinking?

Fabian
 _______________________________________________
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: In-memory EOQualifier evaluation and to-many relations
      • From: Samuel Pelletier <email@hidden>
  • Prev by Date: Re: Anyone using Kepler?
  • Next by Date: Re: Anyone using Kepler?
  • Previous by thread: Re: max receive buffer ?
  • Next by thread: Re: In-memory EOQualifier evaluation and to-many relations
  • Index(es):
    • Date
    • Thread