List Info

Thread: Re: use of includesAnyOf:




Re: use of includesAnyOf:
user name
2007-03-12 16:30:43
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 <hilaire2006laposte.net>
> To: magmalists.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
> Magmalists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/magma

> 
> 
> 

_______________________________________________
Magma mailing list
Magmalists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/magma


Re: use of includesAnyOf:
country flaguser name
United States
2007-03-12 16:17:26
Yes, index the same object at multiple endDates and then
"equals" will inherently be
"includesAnyOf:"..

----- Original Message ----
From: Hilaire Fernandes <hilaire2006laposte.net>
To: magmalists.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
Magmalists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/magma




_______________________________________________
Magma mailing list
Magmalists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/magma


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )