I am sorry to bother you Chris, but I have an understanding/communication problem and I cannot understand you. May be a small example will make it clearer for me.
Thanks
Hilaire
Chris Muller a écrit :
Yes, index the same object at multiple endDates and then "equals" will inherently be "includesAnyOf:"..
----- Original Message ---- From: Hilaire Fernandes hilaire2006@laposte.net To: magma@lists.squeakfoundation.org Sent: Sunday, March 11, 2007 6:41:01 AM Subject: Re: use of includesAnyOf:
Hilaire Fernandes a écrit :
I am wondering about the use of includesAnyOf: query. Is it the same use than inclidesAnyOf: from the collection classes?
Is the following correct ?
myMagmaCollection where: [:each | each endDate includesAnyOf: {Date today . Date yesterday}
With endDate returning a Date instance.
Or may be with endDate returning a collection of Date will be even more useful?
Hilaire
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma