use of includesAnyOf:
Chris Muller
afunkyobject at yahoo.com
Mon Mar 12 21:17:26 UTC 2007
Yes, index the same object at multiple endDates and then "equals" will inherently be "includesAnyOf:"..
----- Original Message ----
From: Hilaire Fernandes <hilaire2006 at laposte.net>
To: magma at 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 at lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/magma
More information about the Magma
mailing list