• 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
Correct format for date qualifier in EO Modeler?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Correct format for date qualifier in EO Modeler?


  • Subject: Correct format for date qualifier in EO Modeler?
  • From: Ray Ackland <email@hidden>
  • Date: Sun, 21 Mar 2004 17:02:28 +1200

I am wanting to limit the records fetched for an entity by setting the restricting qualifier in EOModeler. If I try setting this on number fields there is no problem. But I can't figure out what the syntax should be for doing a filter on a date field.

If I enter the qualifier as (date > "2002-01-01") then the quotation marks get included in the fetch and no records are returned (the fetch doesn't even seem to complete).

I try it without the quotation marks (single or double) but if I include anything apart from digits I get a parse error in EOModeler.

Any hints? The internal type in NSTimestamp. External is DATE. Database is mysql.

Ray.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Correct format for date qualifier in EO Modeler?
      • From: Art Isbell <email@hidden>
  • Prev by Date: File Upload and Download Questions..
  • Next by Date: Re: Stumped by nonfunctioning repetition
  • Previous by thread: Re: File Upload and Download Questions..
  • Next by thread: Re: Correct format for date qualifier in EO Modeler?
  • Index(es):
    • Date
    • Thread