Correct format for date qualifier in EO Modeler?
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.