Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qualifier for date



Ted,

I don't believe you can do what you're asking, but to answer a question with a question, why would you want to? I can almost guarantee that the performance of >= April 1 and < May 1 will be better than like...

Ken

On May 29, 2007, at 9:18 PM, Ted Archibald wrote:

Hi,

I've been trying to figure out how to do qualifiers for dates and am having no luck.

If I want to get all the EOs for the month of April 2007, I currently have to use two qualifiers. One that is greater than or equal to April 1st and one that is less than or equal to April 30th. Is there a way I can do it just like SQL, e.g. "date LIKE '2007-04%'".

Can you only do this with an EOQualifier or can you do this in the Fetch Spec Qualifier in the model?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kenlists% 40anderhome.com


This email sent to email@hidden

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

This email sent to email@hidden
References: 
 >Qualifier for date (From: "Ted Archibald" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.